nixos/plasma5: test that KDED runs at startup

This commit is contained in:
Thomas Tuegel 2020-12-14 05:43:08 -06:00
parent cd8fac0c29
commit 9a71439343
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59

View File

@ -35,6 +35,9 @@ import ./make-test-python.nix ({ pkgs, ...} :
machine.wait_until_succeeds("pgrep plasmashell") machine.wait_until_succeeds("pgrep plasmashell")
machine.wait_for_window("^Desktop ") machine.wait_for_window("^Desktop ")
with subtest("Check that KDED is running"):
machine.succeed("pgrep kded5")
with subtest("Check that logging in has given the user ownership of devices"): with subtest("Check that logging in has given the user ownership of devices"):
machine.succeed("getfacl -p /dev/snd/timer | grep -q ${user.name}") machine.succeed("getfacl -p /dev/snd/timer | grep -q ${user.name}")