Lines Matching refs:stderr_trapped
38 check_stderr (bool expect_errmsg, FILE *stderr_trapped) in check_stderr() argument
44 rewind (stderr_trapped); in check_stderr()
45 while (getline (&lineptr, &linesz, stderr_trapped) > 0) in check_stderr()
50 rewind (stderr_trapped); in check_stderr()
51 ftruncate (fileno (stderr_trapped), 0); in check_stderr()
107 do_##test_type (const struct test_type *tcase, FILE *stderr_trapped) \
130 if (!check_stderr (tcase->expect_errmsg, stderr_trapped)) \
250 FILE *stderr_trapped = fdopen(stderr_trap, "r+"); in do_test() local
251 if (!stderr_trapped) in do_test()
272 success = do_test_short (tcase, stderr_trapped) && success; in do_test()
275 success = do_test_long (tcase, stderr_trapped) && success; in do_test()
279 fclose (stderr_trapped); in do_test()