* Verify whether Xfce users get ownership of devices.

svn path=/nixos/trunk/; revision=28396
This commit is contained in:
Eelco Dolstra 2011-08-08 17:16:49 +00:00
parent eba6e0456b
commit 80d817fcb7

View file

@ -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);