Author: eelco
Date: Mon Aug  8 17:16:49 2011
New Revision: 28396
URL: https://svn.nixos.org/websvn/nix/?rev=28396&sc=1

Log:
* Verify whether Xfce users get ownership of devices.

Modified:
   nixos/trunk/tests/xfce.nix

Modified: nixos/trunk/tests/xfce.nix
==============================================================================
--- nixos/trunk/tests/xfce.nix  Mon Aug  8 15:16:42 2011        (r28395)
+++ nixos/trunk/tests/xfce.nix  Mon Aug  8 17:16:49 2011        (r28396)
@@ -17,8 +17,12 @@
 
   testScript =
     ''
-      $machine->waitForWindow(qr/Tips/);
+      $machine->waitForWindow(qr/Tips/);      
       $machine->sleep(10);
+
+      # Check that logging in has given the user ownership of devices.
+      $machine->succeed("getfacl /dev/snd/timer | grep -q alice");
+      
       $machine->succeed("su - alice -c 'DISPLAY=:0.0 Terminal &'");
       $machine->waitForWindow(qr/Terminal/);
       $machine->sleep(10);
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to