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