summary refs log tree commit diff
path: root/nixos/tests/misc.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-17 12:22:24 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-17 12:26:12 +0200
commit518f710547b92c3f3a5ef7fdf55be1e8cb66bea1 (patch)
treea5d708658c9c75a9223ef2a6d7456a1e3163b98f /nixos/tests/misc.nix
parent89155dbc01e899a08151e50c01e82ad469c5ad59 (diff)
downloadnixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar
nixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.gz
nixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.bz2
nixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.lz
nixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.xz
nixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.zst
nixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.zip
Fix module loading in systemd-udevd
Diffstat (limited to 'nixos/tests/misc.nix')
-rw-r--r--nixos/tests/misc.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/tests/misc.nix b/nixos/tests/misc.nix
index 0f57b9f6126..76298f1abd4 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');
+      };
     '';
 
 }