summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-personality-aarch64.service
diff options
context:
space:
mode:
authorJan Synacek <jan.synacek@gmail.com>2016-08-02 16:22:56 +0200
committerLennart Poettering <lennart@poettering.net>2016-08-02 16:22:56 +0200
commit125918635516491dc8ec1d803c38b9225b3599b9 (patch)
treeb6f074a0e33a5e17a992bbade3bbd40b38365960 /test/test-execute/exec-personality-aarch64.service
parentcce9c80af32ac7f84607123c81da8c2ee028e55e (diff)
downloadsystemd-125918635516491dc8ec1d803c38b9225b3599b9.tar.gz
test: fix test-execute personality tests on ppc64 and aarch64 (#3825)
Diffstat (limited to 'test/test-execute/exec-personality-aarch64.service')
-rw-r--r--test/test-execute/exec-personality-aarch64.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test-execute/exec-personality-aarch64.service b/test/test-execute/exec-personality-aarch64.service
new file mode 100644
index 0000000000..40b6d95e3a
--- /dev/null
+++ b/test/test-execute/exec-personality-aarch64.service
@@ -0,0 +1,7 @@
+Unit]
+Description=Test for Personality=aarch64
+
+[Service]
+ExecStart=/bin/sh -c 'echo $(uname -m); exit $(test $(uname -m) = "aarch64")'
+Type=oneshot
+Personality=aarch64