Merge pull request #106899 from ttuegel/nixos-plasma-test-kded

nixos/plasma5: test that KDED runs at startup
This commit is contained in:
Thomas Tuegel 2020-12-15 05:15:23 -06:00 committed by GitHub
commit 0cb7962a12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,9 @@ import ./make-test-python.nix ({ pkgs, ...} :
machine.wait_until_succeeds("pgrep plasmashell")
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"):
machine.succeed("getfacl -p /dev/snd/timer | grep -q ${user.name}")