forked from mirrors/nixpkgs
nixos/tests/misc: start systemd-udev-settle manually
systemd-udev-settle is not started by default anymore. Because checking for psmouse like that is considered legacy, we start systemd-udev-settle manually in the test. cc @edolstra
This commit is contained in:
parent
e133b412db
commit
bb88a11ee9
|
@ -80,6 +80,7 @@ import ./make-test.nix ({ pkgs, ...} : {
|
|||
};
|
||||
|
||||
# Test whether systemd-udevd automatically loads modules for our hardware.
|
||||
$machine->succeed("systemctl start systemd-udev-settle.service");
|
||||
subtest "udev-auto-load", sub {
|
||||
$machine->waitForUnit('systemd-udev-settle.service');
|
||||
$machine->succeed('lsmod | grep psmouse');
|
||||
|
|
Loading…
Reference in a new issue