nixos/tests/installer/swraid: Check for safemode

This is a regression test for #15226, so that the test will fail once we
accidentally kill one or more of the md kthreads (aka: if safe mode is
enabled).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-05-06 12:12:35 +02:00
parent 67223ee205
commit dc6d003011
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -407,6 +407,10 @@ in {
"mdadm --verbose -W /dev/md1",
);
'';
preBootCommands = ''
$machine->start;
$machine->fail("dmesg | grep 'immediate safe mode'");
'';
};
# Test a basic install using GRUB 1.