mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
* Test whether logging into X assigns device ownership properly.
svn path=/nixos/trunk/; revision=20486
This commit is contained in:
parent
89d599bab1
commit
a8aefffa09
@ -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/ &'");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user