From: Eugene Syromyatnikov Date: Tue, 13 Feb 2018 22:57:27 +0000 (+0100) Subject: tests/s390_sthyi.c: skip the test if s390_sthyi returns an error X-Git-Tag: v4.21~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9748b9203823d0a4c5e27437caa2d2bbde777aad;p=strace tests/s390_sthyi.c: skip the test if s390_sthyi returns an error tests/s390_sthyi.c (main): replace error_msg_and_fail with error_msg_and_skip if rc is non-zero. --- diff --git a/tests/s390_sthyi.c b/tests/s390_sthyi.c index 8b241dd2..10a7b872 100644 --- a/tests/s390_sthyi.c +++ b/tests/s390_sthyi.c @@ -768,7 +768,7 @@ main(void) rc = syscall(__NR_s390_sthyi, 0, buf, ret, 0); if (rc) - error_msg_and_fail("syscall(__NR_s390_sthyi, 0, buf, ret, 0) " + error_msg_and_skip("syscall(__NR_s390_sthyi, 0, buf, ret, 0) " "returned unexpected value of %ld", rc); printf("s390_sthyi(STHYI_FC_CP_IFL_CAP, ");