* Test whether logging into X assigns device ownership properly.

svn path=/nixos/trunk/; revision=20486
This commit is contained in:
Eelco Dolstra 2010-03-09 11:43:56 +00:00
parent 89d599bab1
commit a8aefffa09

View File

@ -38,6 +38,9 @@
''
$machine->waitForWindow(qr/plasma-desktop/);
# Check that logging in has given the user ownership of devices.
$machine->mustSucceed("getfacl /dev/snd/timer | grep -q alice");
$machine->execute("su - alice -c 'DISPLAY=:0.0 kwrite /var/log/messages &'");
$machine->execute("su - alice -c 'DISPLAY=:0.0 konqueror http://localhost/ &'");