Merge pull request #264260 from bobby285271/upd/xfce

nixosTests.xfce: Check if any coredumps are found

authored by Bobby Rong and committed by GitHub 73789784 3e8293e8

+3
+3
nixos/tests/xfce.nix
··· 66 machine.succeed("su - ${user.name} -c 'DISPLAY=:0 thunar >&2 &'") 67 machine.wait_for_window("Thunar") 68 machine.wait_for_text('(Pictures|Public|Templates|Videos)') 69 machine.sleep(10) 70 machine.screenshot("screen") 71 '';
··· 66 machine.succeed("su - ${user.name} -c 'DISPLAY=:0 thunar >&2 &'") 67 machine.wait_for_window("Thunar") 68 machine.wait_for_text('(Pictures|Public|Templates|Videos)') 69 + 70 + with subtest("Check if any coredumps are found"): 71 + machine.succeed("(coredumpctl --json=short 2>&1 || true) | grep 'No coredumps found'") 72 machine.sleep(10) 73 machine.screenshot("screen") 74 '';