summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2023-04-26 14:32:04 +0100
committerLuca Boccassi <bluca@debian.org>2023-04-26 16:12:00 +0100
commitcf636aa59eb8c848ed04d5b08aac0acf3f6683d9 (patch)
tree04715a78a10a6f48a5a7ae1aeb859dbda6e19734 /test
parent7f3bb8f20dcccaceea8b1ee05f0560b81162037b (diff)
downloadsystemd-cf636aa59eb8c848ed04d5b08aac0acf3f6683d9.tar.gz
test: add coverage for CoredumpFilter=all
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/testsuite-74.coredump.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/units/testsuite-74.coredump.sh b/test/units/testsuite-74.coredump.sh
index 3910abe0ec..0e5d050f45 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)