s390: add personality support
Introduce personality support for Linux on z Systems to run particular services with a 64-bit or 31-bit personality.
This commit is contained in:
committed by
Harald Hoyer
parent
2e396de8b2
commit
7517f51ef9
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user