Home
last modified time | relevance | path

Searched refs:experr1 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c337 #define EXPECT_SYSER2(cond, expr, expret, experr1, experr2) \ argument
338 …do { if (!(cond)) result(llen, SKIPPED); else ret += expect_syserr2(expr, expret, experr1, experr2…
344 int expect_syserr2(int expr, int expret, int experr1, int experr2, int llen) in expect_syserr2() argument
350 if (expr != expret || (_errno != experr1 && _errno != experr2)) { in expect_syserr2()
353 llen += printf(" != (%d %s) ", expret, errorname(experr1)); in expect_syserr2()
355 llen += printf(" != (%d %s %s) ", expret, errorname(experr1), errorname(experr2)); in expect_syserr2()
491 #define EXPECT_PTRER2(cond, expr, expret, experr1, experr2) \ argument
498 int expect_ptrerr2(const void *expr, const void *expret, int experr1, int experr2, int llen) in expect_ptrerr2() argument
504 if (expr != expret || (_errno != experr1 && _errno != experr2)) { in expect_ptrerr2()
507 llen += printf(" != (<%p> %s) ", expret, errorname(experr1)); in expect_ptrerr2()
[all …]