nixosTests.pantheon: Add test for io.elementary.gala.daemon@x11.service
Which is manually added in the nixos module.
This commit is contained in:
parent
a4bca9aaef
commit
bf2ba6e629
|
@ -50,8 +50,8 @@ import ./make-test-python.nix ({ pkgs, lib, ...} :
|
||||||
machine.wait_until_succeeds(f"pgrep -f {i}")
|
machine.wait_until_succeeds(f"pgrep -f {i}")
|
||||||
for i in ["gala", "io.elementary.wingpanel", "plank"]:
|
for i in ["gala", "io.elementary.wingpanel", "plank"]:
|
||||||
machine.wait_for_window(i)
|
machine.wait_for_window(i)
|
||||||
machine.wait_for_unit("bamfdaemon.service", "${user.name}")
|
for i in ["io.elementary.gala.daemon@x11.service", "bamfdaemon.service", "io.elementary.files.xdg-desktop-portal.service"]:
|
||||||
machine.wait_for_unit("io.elementary.files.xdg-desktop-portal.service", "${user.name}")
|
machine.wait_for_unit(i, "${user.name}")
|
||||||
|
|
||||||
with subtest("Check if various environment variables are set"):
|
with subtest("Check if various environment variables are set"):
|
||||||
cmd = "xargs --null --max-args=1 echo < /proc/$(pgrep -xf ${pkgs.pantheon.gala}/bin/gala)/environ"
|
cmd = "xargs --null --max-args=1 echo < /proc/$(pgrep -xf ${pkgs.pantheon.gala}/bin/gala)/environ"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user