summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-10-30 07:23:10 +0800
committerBobby Rong <rjl931189261@126.com>2023-10-30 21:15:22 +0800
commit204ee865754f5f3bb7316653f79c25ed63a78eed (patch)
tree581bd81d0cd93baae4196670979aa8e2e7d0b570 /nixos/tests
parent63678e9f3d3afecfeafa0acead6239cdb447574c (diff)
downloadnixpkgs-204ee865754f5f3bb7316653f79c25ed63a78eed.tar
nixpkgs-204ee865754f5f3bb7316653f79c25ed63a78eed.tar.gz
nixpkgs-204ee865754f5f3bb7316653f79c25ed63a78eed.tar.bz2
nixpkgs-204ee865754f5f3bb7316653f79c25ed63a78eed.tar.lz
nixpkgs-204ee865754f5f3bb7316653f79c25ed63a78eed.tar.xz
nixpkgs-204ee865754f5f3bb7316653f79c25ed63a78eed.tar.zst
nixpkgs-204ee865754f5f3bb7316653f79c25ed63a78eed.zip
nixosTests.xfce: Check if any coredumps are found
Adds a regression test for https://gitlab.xfce.org/xfce/xfconf/-/issues/35.
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")
     '';