summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-10-30 22:16:39 +0800
committerGitHub <noreply@github.com>2023-10-30 22:16:39 +0800
commit7378978469efa3b2b2f97d645a2a0b0e2447da2b (patch)
tree2704068a3f67cdfdac71d907c49852414fa2aae5 /nixos/tests
parent3e8293e8934f5870b2c5be84fe37d5b61deda6af (diff)
parent204ee865754f5f3bb7316653f79c25ed63a78eed (diff)
downloadnixpkgs-7378978469efa3b2b2f97d645a2a0b0e2447da2b.tar
nixpkgs-7378978469efa3b2b2f97d645a2a0b0e2447da2b.tar.gz
nixpkgs-7378978469efa3b2b2f97d645a2a0b0e2447da2b.tar.bz2
nixpkgs-7378978469efa3b2b2f97d645a2a0b0e2447da2b.tar.lz
nixpkgs-7378978469efa3b2b2f97d645a2a0b0e2447da2b.tar.xz
nixpkgs-7378978469efa3b2b2f97d645a2a0b0e2447da2b.tar.zst
nixpkgs-7378978469efa3b2b2f97d645a2a0b0e2447da2b.zip
Merge pull request #264260 from bobby285271/upd/xfce
nixosTests.xfce: Check if any coredumps are found
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/xfce.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/tests/xfce.nix b/nixos/tests/xfce.nix
index 2df1a5b6e8c..9620e9188cb 100644
--- a/nixos/tests/xfce.nix
+++ b/nixos/tests/xfce.nix
@@ -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")
     '';