Lines Matching defs:xp_fail
103 bool xp_fail(int, const char *, ...) __printflike(2, 3);
761 * XP_FAIL
762 * If caller already count up testcount, call xp_fail() instead.
764 #define XP_FAIL(fmt...) do { \
766 xp_fail(__LINE__, fmt); \
768 bool xp_fail(int line, const char *fmt, ...)
811 r = xp_fail(line, "%s expects %d but %d", varname, exp, act);
822 r = xp_fail(line, "%s expects \"%s\" but \"%s\"",
835 r = xp_fail(line, "%s expects != %d but %d", varname, exp, act);
848 r = xp_fail(__LINE__, "(%s) is expected but not met", exprname);
861 r = xp_fail(line, "%s expects %d but -1,err#%d(%s)",
881 r = xp_fail(line, "%s expects success but -1,err#%d(%s)",
895 r = xp_fail(line, "%s expects -1,err#%d but %d",
901 r = xp_fail(line, "%s expects -1,err#%d(%s) but -1,err#%d(%s)",
926 r = xp_fail(line,
933 r = xp_fail(line,
939 r = xp_fail(line,
1882 XP_FAIL("expects error but %d", actmode);
2197 XP_FAIL("expects %d sec but %4.1f sec", n, res);
2242 XP_FAIL("expects %d sec but %4.1f sec", n, res);
3513 XP_FAIL("play fd returns POLLIN");
4418 XP_FAIL("reading from child failed");
4542 XP_FAIL("expected result is unknown");
4560 XP_FAIL("expected result is unknown");
4681 XP_FAIL("expected result is unknown");
4699 XP_FAIL("expected result is unknown");
6014 XP_FAIL("ae.encoding %d", ae.encoding);
6023 XP_FAIL("ae.precision %d", ae.precision);