Commit 5f8ee105 authored by Alice Frosi's avatar Alice Frosi Committed by Andrei Vagin

s390: Fix to skip the test if GS not supported

Signed-off-by: 's avatarAlice Frosi <alice@linux.vnet.ibm.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 23d619a5
...@@ -149,7 +149,7 @@ int main(int argc, char *argv[]) ...@@ -149,7 +149,7 @@ int main(int argc, char *argv[])
test_init(argc, argv); test_init(argc, argv);
/* Enable guarded-storage */ /* Enable guarded-storage */
if (syscall(__NR_guarded_storage, GS_ENABLE) != 0) { if (syscall(__NR_guarded_storage, GS_ENABLE) != 0) {
if (errno == ENOSYS) { if (errno == ENOSYS || errno == EOPNOTSUPP) {
test_daemon(); test_daemon();
test_waitsig(); test_waitsig();
skip("No guarded storage support"); skip("No guarded storage support");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment