gnome3 test: revert back to using slim

GDM needs more time to load on hydra, need a better way to find out
when the user has logged in.
This commit is contained in:
Luca Bruno 2015-08-31 10:35:11 +02:00
parent 4068869d62
commit 38dd4f5ce1

View File

@ -11,13 +11,8 @@ import ./make-test.nix ({ pkgs, ...} : {
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.displayManager.gdm = { services.xserver.displayManager.auto.enable = true;
enable = true; services.xserver.displayManager.auto.user = "alice";
autoLogin = {
enable = true;
user = "alice";
};
};
services.xserver.desktopManager.gnome3.enable = true; services.xserver.desktopManager.gnome3.enable = true;
virtualisation.memorySize = 512; virtualisation.memorySize = 512;
@ -26,7 +21,7 @@ import ./make-test.nix ({ pkgs, ...} : {
testScript = testScript =
'' ''
$machine->waitForX; $machine->waitForX;
$machine->sleep(60); $machine->sleep(15);
# Check that logging in has given the user ownership of devices. # Check that logging in has given the user ownership of devices.
$machine->succeed("getfacl /dev/snd/timer | grep -q alice"); $machine->succeed("getfacl /dev/snd/timer | grep -q alice");