Skip to content

Commit

Permalink
Merge pull request #264260 from bobby285271/upd/xfce
Browse files Browse the repository at this point in the history
nixosTests.xfce: Check if any coredumps are found
  • Loading branch information
bobby285271 committed Oct 30, 2023
2 parents 3e8293e + 204ee86 commit 7378978
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nixos/tests/xfce.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ import ./make-test-python.nix ({ pkgs, ...} : {
machine.succeed("su - ${user.name} -c 'DISPLAY=:0 thunar >&2 &'")
machine.wait_for_window("Thunar")
machine.wait_for_text('(Pictures|Public|Templates|Videos)')
with subtest("Check if any coredumps are found"):
machine.succeed("(coredumpctl --json=short 2>&1 || true) | grep 'No coredumps found'")
machine.sleep(10)
machine.screenshot("screen")
'';
Expand Down

0 comments on commit 7378978

Please sign in to comment.