From: Luca Boccassi Date: Wed, 26 Apr 2023 13:32:04 +0000 (+0100) Subject: test: add coverage for CoredumpFilter=all X-Git-Tag: v254-rc1~619^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf636aa59eb8c848ed04d5b08aac0acf3f6683d9;p=thirdparty%2Fsystemd.git test: add coverage for CoredumpFilter=all --- diff --git a/test/units/testsuite-74.coredump.sh b/test/units/testsuite-74.coredump.sh index 3910abe0ec1..0e5d050f45e 100755 --- a/test/units/testsuite-74.coredump.sh +++ b/test/units/testsuite-74.coredump.sh @@ -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)