mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
nixosTests.pantheon: Ensure the test fails when gala coredumps
It can be possible that pgrep failed to catch this. See the GNOME 45 PR.
This commit is contained in:
parent
8353344d32
commit
d86dc7c016
@ -60,6 +60,9 @@ import ./make-test-python.nix ({ pkgs, lib, ...} :
|
||||
with subtest("Open elementary terminal"):
|
||||
machine.execute("su - ${user.name} -c 'DISPLAY=:0 io.elementary.terminal >&2 &'")
|
||||
machine.wait_for_window("io.elementary.terminal")
|
||||
|
||||
with subtest("Check if gala has ever coredumped"):
|
||||
machine.fail("coredumpctl --json=short | grep gala")
|
||||
machine.sleep(20)
|
||||
machine.screenshot("screen")
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user