diff options
author | K900 <me@0upti.me> | 2022-06-12 17:48:09 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2022-06-12 17:48:09 +0300 |
commit | a5f11a6938a0cc475391e81c998f4439092a5d7b (patch) | |
tree | 30f579a6e1191bf6800376e1bc0d755a0ae8770d /nixos/tests/plasma5.nix | |
parent | 6350d8d9b366fd6553dfe2160c4b43c28af97ac4 (diff) |
nixos/tests/plasma5: also test excludePackages works as expected
Diffstat (limited to 'nixos/tests/plasma5.nix')
-rw-r--r-- | nixos/tests/plasma5.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nixos/tests/plasma5.nix b/nixos/tests/plasma5.nix index 3358a72570e87..b3836cf641d4b 100644 --- a/nixos/tests/plasma5.nix +++ b/nixos/tests/plasma5.nix @@ -13,7 +13,10 @@ import ./make-test-python.nix ({ pkgs, ...} : services.xserver.enable = true; services.xserver.displayManager.sddm.enable = true; services.xserver.displayManager.defaultSession = "plasma"; - services.xserver.desktopManager.plasma5.enable = true; + services.xserver.desktopManager.plasma5 = { + enable = true; + excludePackages = [ pkgs.plasma5Packages.elisa ]; + }; services.xserver.displayManager.autoLogin = { enable = true; user = "alice"; @@ -40,6 +43,9 @@ import ./make-test-python.nix ({ pkgs, ...} : with subtest("Check that logging in has given the user ownership of devices"): machine.succeed("getfacl -p /dev/snd/timer | grep -q ${user.name}") + with subtest("Ensure Elisa is not installed"): + machine.fail("which elisa") + with subtest("Run Dolphin"): machine.execute("su - ${user.name} -c 'DISPLAY=:0.0 dolphin >&2 &'") machine.wait_for_window(" Dolphin") |