summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-systemcallerrornumber.service
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-execute/exec-systemcallerrornumber.service')
-rw-r--r--test/test-execute/exec-systemcallerrornumber.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-execute/exec-systemcallerrornumber.service b/test/test-execute/exec-systemcallerrornumber.service
index b11a952bd6..ff7da3c1a4 100644
--- a/test/test-execute/exec-systemcallerrornumber.service
+++ b/test/test-execute/exec-systemcallerrornumber.service
@@ -2,6 +2,7 @@
Description=Test for SystemCallErrorNumber
[Service]
-ExecStart=/bin/sh -c 'uname -a'
+ExecStart=/bin/sh -x -c 'uname -a'
+Type=oneshot
SystemCallFilter=~uname
SystemCallErrorNumber=EACCES