diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-17 12:22:24 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-17 12:26:12 +0200 |
commit | 518f710547b92c3f3a5ef7fdf55be1e8cb66bea1 (patch) | |
tree | a5d708658c9c75a9223ef2a6d7456a1e3163b98f /nixos/tests/misc.nix | |
parent | 89155dbc01e899a08151e50c01e82ad469c5ad59 (diff) | |
download | nixlib-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar nixlib-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.gz nixlib-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.bz2 nixlib-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.lz nixlib-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.xz nixlib-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.zst nixlib-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.zip |
Fix module loading in systemd-udevd
Diffstat (limited to 'nixos/tests/misc.nix')
-rw-r--r-- | nixos/tests/misc.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/tests/misc.nix b/nixos/tests/misc.nix index 0f57b9f61261..76298f1abd47 100644 --- a/nixos/tests/misc.nix +++ b/nixos/tests/misc.nix @@ -63,6 +63,12 @@ import ./make-test.nix { $machine->succeed('[ "`hostname`" = machine ]'); $machine->succeed('[ "`hostname -s`" = machine ]'); }; + + # Test whether systemd-udevd automatically loads modules for our hardware. + subtest "udev-auto-load", sub { + $machine->waitForUnit('systemd-udev-settle.service'); + $machine->succeed('lsmod | grep psmouse'); + }; ''; } |