Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
H A Dtest_progs.c58 stdout = env.stdout_saved; in stdio_hijack_init()
64 env.subtest_state->stdout_saved = stdout; in stdio_hijack_init()
66 env.test_state->stdout_saved = stdout; in stdio_hijack_init()
80 env.stdout_saved = stdout; in stdio_hijack()
98 fclose(env.subtest_state->stdout_saved); in stdio_restore_cleanup()
99 env.subtest_state->stdout_saved = NULL; in stdio_restore_cleanup()
100 stdout = env.test_state->stdout_saved; in stdio_restore_cleanup()
101 stderr = env.test_state->stdout_saved; in stdio_restore_cleanup()
103 fclose(env.test_state->stdout_saved); in stdio_restore_cleanup()
104 env.test_state->stdout_saved = NULL; in stdio_restore_cleanup()
[all …]
H A Dtest_progs.h79 FILE *stdout_saved; member
96 FILE *stdout_saved; member
118 FILE *stdout_saved; member