summaryrefslogtreecommitdiff
path: root/src/test/test-execute.c
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 /src/test/test-execute.c
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 'src/test/test-execute.c')
-rw-r--r--src/test/test-execute.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/test/test-execute.c b/src/test/test-execute.c
index dd8ab7dcb8..fa6336f1fb 100644
--- a/src/test/test-execute.c
+++ b/src/test/test-execute.c
@@ -77,10 +77,14 @@ static void test_exec_workingdirectory(Manager *m) {
}
static void test_exec_personality(Manager *m) {
- test(m, "exec-personality-x86.service", 0, CLD_EXITED);
-
#if defined(__x86_64__)
test(m, "exec-personality-x86-64.service", 0, CLD_EXITED);
+
+#elif defined(__s390__)
+ test(m, "exec-personality-s390.service", 0, CLD_EXITED);
+
+#else
+ test(m, "exec-personality-x86.service", 0, CLD_EXITED);
#endif
}