From: Lennart Poettering Date: Mon, 29 Apr 2019 11:02:32 +0000 (+0200) Subject: test-execute: turn off coredump generation in test services X-Git-Tag: v243-rc1~381^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a429223d1767a9d6cb0a95fd2fa3b0d64ce3d4e7;p=thirdparty%2Fsystemd.git test-execute: turn off coredump generation in test services These services are likely to coredump, and we expect that but aren't interested in the coredump. Hence let's turn off processing by setting RLIMIT_CORE to 0/0. --- diff --git a/test/test-execute/exec-systemcallfilter-failing.service b/test/test-execute/exec-systemcallfilter-failing.service index bcebc995072..996f859217c 100644 --- a/test/test-execute/exec-systemcallfilter-failing.service +++ b/test/test-execute/exec-systemcallfilter-failing.service @@ -4,6 +4,7 @@ Description=Test for SystemCallFilter [Service] ExecStart=/bin/sh -c 'echo "This should not be seen"' Type=oneshot +LimitCORE=0 SystemCallFilter=ioperm SystemCallFilter=~ioperm SystemCallFilter=ioperm diff --git a/test/test-execute/exec-systemcallfilter-failing2.service b/test/test-execute/exec-systemcallfilter-failing2.service index 2fdc0ed7724..c74f42248bd 100644 --- a/test/test-execute/exec-systemcallfilter-failing2.service +++ b/test/test-execute/exec-systemcallfilter-failing2.service @@ -4,4 +4,5 @@ Description=Test for SystemCallFilter [Service] ExecStart=/bin/sh -c 'echo "This should not be seen"' Type=oneshot +LimitCORE=0 SystemCallFilter=~write open execve exit_group close mmap munmap fstat DONOTEXIST