gnome3 test: use gdm with autologin instead of slim

This commit is contained in:
Luca Bruno 2015-08-27 18:11:30 +02:00
parent 6eb096900f
commit 119a6ef543

View File

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