summaryrefslogtreecommitdiff
path: root/test/exec-personality-s390.service
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-09-24 15:04:13 +0200
committerDaniel Mack <github@zonque.org>2015-09-24 15:04:13 +0200
commitf0c576748e98d8539deea6c7682a91cbe07a956a (patch)
tree009119135965777511430a838e79b953c7c2840c /test/exec-personality-s390.service
parent2e396de8b2317fdd1cb2f5eb1df8dffd13bf1e80 (diff)
parent7517f51ef9921d3360453c8eec2c97256d320ceb (diff)
Merge pull request #1370 from systemd-mailing-devs/1443091642-5853-1-git-send-email-brueckner@linux.vnet.ibm.com
s390: add personality support
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