summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-personality-x86-64.service
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-execute/exec-personality-x86-64.service')
-rw-r--r--test/test-execute/exec-personality-x86-64.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-execute/exec-personality-x86-64.service b/test/test-execute/exec-personality-x86-64.service
index 5bb5d910d0..433e69a6d1 100644
--- a/test/test-execute/exec-personality-x86-64.service
+++ b/test/test-execute/exec-personality-x86-64.service
@@ -2,6 +2,6 @@
Description=Test for Personality=x86-64
[Service]
-ExecStart=/bin/sh -c 'echo $(uname -m); exit $(test $(uname -m) = "x86_64")'
+ExecStart=/bin/sh -x -c 'c=$$(uname -m); test "$$c" = "x86_64"'
Type=oneshot
Personality=x86-64