summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorJan Synacek <jan.synacek@gmail.com>2016-08-02 16:22:56 +0200
committerLennart Poettering <lennart@poettering.net>2016-08-02 16:22:56 +0200
commit125918635516491dc8ec1d803c38b9225b3599b9 (patch)
treeb6f074a0e33a5e17a992bbade3bbd40b38365960 /src/test
parentcce9c80af32ac7f84607123c81da8c2ee028e55e (diff)
test: fix test-execute personality tests on ppc64 and aarch64 (#3825)
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-execute.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/test-execute.c b/src/test/test-execute.c
index baf5b96487..1d24115b5c 100644
--- a/src/test/test-execute.c
+++ b/src/test/test-execute.c
@@ -92,6 +92,16 @@ static void test_exec_personality(Manager *m) {
#elif defined(__s390__)
test(m, "exec-personality-s390.service", 0, CLD_EXITED);
+#elif defined(__powerpc64__)
+# if __BYTE_ORDER == __BIG_ENDIAN
+ test(m, "exec-personality-ppc64.service", 0, CLD_EXITED);
+# else
+ test(m, "exec-personality-ppc64le.service", 0, CLD_EXITED);
+# endif
+
+#elif defined(__aarch64__)
+ test(m, "exec-personality-aarch64.service", 0, CLD_EXITED);
+
#elif defined(__i386__)
test(m, "exec-personality-x86.service", 0, CLD_EXITED);
#endif