From cf636aa59eb8c848ed04d5b08aac0acf3f6683d9 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 26 Apr 2023 14:32:04 +0100 Subject: [PATCH] test: add coverage for CoredumpFilter=all --- test/units/testsuite-74.coredump.sh | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.47.3