summaryrefslogtreecommitdiff
path: root/test/exec-personality-x86-64.service
diff options
context:
space:
mode:
Diffstat (limited to 'test/exec-personality-x86-64.service')
-rw-r--r--test/exec-personality-x86-64.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/exec-personality-x86-64.service b/test/exec-personality-x86-64.service
new file mode 100644
index 0000000000..5bb5d910d0
--- /dev/null
+++ b/test/exec-personality-x86-64.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Test for Personality=x86-64
+
+[Service]
+ExecStart=/bin/sh -c 'echo $(uname -m); exit $(test $(uname -m) = "x86_64")'
+Type=oneshot
+Personality=x86-64