forked from mirrors/nixpkgs
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:
parent
67223ee205
commit
dc6d003011
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue