diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-08-06 18:20:26 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-08-06 19:13:35 -0400 |
commit | 087c640e1aa8ae9bf06931ebbf31ad4a91ce7293 (patch) | |
tree | 5257407b0746b95e0d733a4250d9fc510bc8b51c /nixos/tests/gnome3.nix | |
parent | f3ea1c8238bea544eac14607ac3bdee386718bce (diff) |
nixosTests.gnome3-xorg: rename from gnome3
Diffstat (limited to 'nixos/tests/gnome3.nix')
-rw-r--r-- | nixos/tests/gnome3.nix | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/nixos/tests/gnome3.nix b/nixos/tests/gnome3.nix deleted file mode 100644 index b58c9e5a0e323..0000000000000 --- a/nixos/tests/gnome3.nix +++ /dev/null @@ -1,41 +0,0 @@ -import ./make-test.nix ({ pkgs, ...} : { - name = "gnome3"; - meta = with pkgs.stdenv.lib.maintainers; { - maintainers = [ domenkozar eelco lethalman ]; - }; - - machine = - { ... }: - - { imports = [ ./common/user-account.nix ]; - - services.xserver.enable = true; - - services.xserver.displayManager.gdm.enable = false; - services.xserver.displayManager.lightdm.enable = true; - services.xserver.displayManager.lightdm.autoLogin.enable = true; - services.xserver.displayManager.lightdm.autoLogin.user = "alice"; - services.xserver.desktopManager.gnome3.enable = true; - services.xserver.desktopManager.default = "gnome-xorg"; - - virtualisation.memorySize = 1024; - }; - - testScript = - '' - $machine->waitForX; - - # wait for alice to be logged in - $machine->waitForUnit("default.target","alice"); - - # 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 gnome-terminal &'"); - $machine->succeed("xauth merge ~alice/.Xauthority"); - $machine->waitForWindow(qr/alice.*machine/); - $machine->succeed("timeout 900 bash -c 'while read msg; do if [[ \$msg =~ \"GNOME Shell started\" ]]; then break; fi; done < <(journalctl -f)'"); - $machine->sleep(10); - $machine->screenshot("screen"); - ''; -}) |