Searched refs:experr2 (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… 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() 372 if (experr2 == 0) 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… 518 int expect_ptrerr2(const void *expr, const void *expret, int experr1, int experr2, int llen) in expect_ptrerr2() argument 524 if (expr != expret || (_errno != experr1 && _errno != experr2)) { in expect_ptrerr2() [all …]
|