summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2015-09-24 12:47:22 +0200
committerHarald Hoyer <harald@redhat.com>2015-09-24 13:03:18 +0200
commit7517f51ef9921d3360453c8eec2c97256d320ceb (patch)
tree009119135965777511430a838e79b953c7c2840c /test
parent2e396de8b2317fdd1cb2f5eb1df8dffd13bf1e80 (diff)
s390: add personality support
Introduce personality support for Linux on z Systems to run particular services with a 64-bit or 31-bit personality.
Diffstat (limited to 'test')
-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