mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-26 08:48:38 +03:00
nixosTests.xfce: Check if any coredumps are found
Adds a regression test for https://gitlab.xfce.org/xfce/xfconf/-/issues/35.
This commit is contained in:
parent
63678e9f3d
commit
204ee86575
@ -66,6 +66,9 @@ import ./make-test-python.nix ({ pkgs, ...} : {
|
|||||||
machine.succeed("su - ${user.name} -c 'DISPLAY=:0 thunar >&2 &'")
|
machine.succeed("su - ${user.name} -c 'DISPLAY=:0 thunar >&2 &'")
|
||||||
machine.wait_for_window("Thunar")
|
machine.wait_for_window("Thunar")
|
||||||
machine.wait_for_text('(Pictures|Public|Templates|Videos)')
|
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.sleep(10)
|
||||||
machine.screenshot("screen")
|
machine.screenshot("screen")
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user