Home
last modified time | relevance | path

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

/libio/
A Dtst-mmap-setvbuf.c28 const char * const test = "Let's see if mmap stdio works with setvbuf.\n"; in main() local
29 char temp[strlen (test) + 1]; in main()
46 fputs (test, f); in main()
62 if (fread (temp, 1, strlen (test), f) != strlen (test)) in main()
67 temp [strlen (test)] = '\0'; in main()
69 if (strcmp (test, temp)) in main()
72 __LINE__, test, temp); in main()
A Dtst-freopen.c43 const char * const test = "Let's test freopen.\n"; in do_test_basic() local
44 char temp[strlen (test) + 1]; in do_test_basic()
50 fputs (test, f); in do_test_basic()
57 if (fread (temp, 1, strlen (test), f) != strlen (test)) in do_test_basic()
59 temp [strlen (test)] = '\0'; in do_test_basic()
61 if (strcmp (test, temp)) in do_test_basic()
63 test, temp); in do_test_basic()
72 if (fread (temp, 1, strlen (test), f) != strlen (test)) in do_test_basic()
74 temp [strlen (test)] = '\0'; in do_test_basic()
76 if (strcmp (test, temp)) in do_test_basic()
[all …]
A Dtst_getwc.input1 This is a test of getwc
A Dtst-ftell-active-handler.c103 struct test in do_ftruncate_test() struct
117 for (int i = 0; i < sizeof (test_modes) / sizeof (struct test); i++) in do_ftruncate_test()
187 struct test in do_rewind_test() struct
216 for (int i = 0; i < sizeof (test_modes) / sizeof (struct test); i++) in do_rewind_test()
289 struct test in do_ftell_test() struct
314 for (int i = 0; i < sizeof (test_modes) / sizeof (struct test); i++) in do_ftell_test()
409 struct test in do_write_test() struct
421 for (int i = 0; i < sizeof (test_modes) / sizeof (struct test); i++) in do_write_test()
486 struct test in do_append_test() struct
497 for (int i = 0; i < sizeof (test_modes) / sizeof (struct test); i++) in do_append_test()

Completed in 9 milliseconds