]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: add coverage for CoredumpFilter=all 27421/head
authorLuca Boccassi <bluca@debian.org>
Wed, 26 Apr 2023 13:32:04 +0000 (14:32 +0100)
committerLuca Boccassi <bluca@debian.org>
Wed, 26 Apr 2023 15:12:00 +0000 (16:12 +0100)
test/units/testsuite-74.coredump.sh

index 3910abe0ec13ca33e2b8b2a9534e8e09cd6f9357..0e5d050f45ef98200f6e09a38ad256a83668de9d 100755 (executable)
@@ -153,6 +153,9 @@ timeout 30 bash -c "while [[ \$(coredumpctl list -q --no-legend $$ | wc -l) -eq
 coredumpctl info "$$"
 coredumpctl info COREDUMP_HOSTNAME="mymachine"
 
+# This used to cause a stack overflow
+systemd-run -t --property CoredumpFilter=all ls /tmp
+systemd-run -t --property CoredumpFilter=default ls /tmp
 
 (! coredumpctl --hello-world)
 (! coredumpctl -n 0)