Searched refs:expret (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/testing/selftests/nolibc/ |
D | nolibc-test.c | 357 #define EXPECT_SYSER2(cond, expr, expret, experr1, experr2) \ argument 358 …do { if (!(cond)) result(llen, SKIPPED); else ret += expect_syserr2(expr, expret, experr1, experr2… 360 #define EXPECT_SYSER(cond, expr, expret, experr) \ argument 361 EXPECT_SYSER2(cond, expr, expret, experr, 0) 364 int expect_syserr2(int expr, int expret, int experr1, int experr2, int llen) in expect_syserr2() argument 370 if (expr != expret || (_errno != experr1 && _errno != experr2)) { in expect_syserr2() 373 llen += printf(" != (%d %s) ", expret, errorname(experr1)); in expect_syserr2() 375 llen += printf(" != (%d %s %s) ", expret, errorname(experr1), errorname(experr2)); in expect_syserr2() 511 #define EXPECT_PTRER2(cond, expr, expret, experr1, experr2) \ argument 512 …do { if (!(cond)) result(llen, SKIPPED); else ret += expect_ptrerr2(expr, expret, experr1, experr2… [all …]
|