Home
last modified time | relevance | path

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

/third_party/musl/libc-test/src/functional/
Dstring.c17 #define TEST_S(s, x, m) ( \ macro
29 TEST_S(s, "abc", "strcpy gave incorrect string"); in main()
31 TEST_S(s, "abc", "strcpy gave incorrect string"); in main()
33 TEST_S(s, "abc", "strcpy gave incorrect string"); in main()
35 TEST_S(s, "abc", "strcpy gave incorrect string"); in main()
38 TEST_S(s, "bc", "strcpy gave incorrect string"); in main()
40 TEST_S(s, "c", "strcpy gave incorrect string"); in main()
42 TEST_S(s, "", "strcpy gave incorrect string"); in main()
60 TEST_S(s, "abc123", "strncat gave incorrect string"); in main()
71 TEST_S(s, "abc", "strtok result"); in main()
[all …]
Dsscanf.c10 #define TEST_S(s, x, m) ( \ macro
26 TEST_S(a, "hello,", ""); in main()
27 TEST_S(b, "world", ""); in main()
30 TEST_S(a, "hell", ""); in main()
31 TEST_S(b, "o,", ""); in main()
34 TEST_S(a, "hell", ""); in main()
35 TEST_S(b, "o,", ""); in main()
40 TEST_S(a, "hello, wX", ""); in main()
45 TEST_S(a, "56", ""); in main()
Dfscanf.c12 #define TEST_S(s, x, m) ( \ macro
47 TEST_S(a, "hello,", "wrong result for %s"); in main()
48 TEST_S(b, "wo", "wrong result for %[own]"); in main()
74 TEST_S(a, "[abc123", "wrong result for %[^]]"); in main()
75 TEST_S(b, "]....", "wrong result for %[].]"); in main()
Dmemstream.c15 #define TEST_S(s, x, m) ( \ macro
38 if (s) TEST_S(s, "abc", "wrong output"); in main()
53 if (s) TEST_S(s, "eq", "wrong output"); in main()
69 TEST_S(buf, "hello", ""); in main()
92 TEST_S(buf, "hello104", ""); in main()
Dfwscanf.c13 #define TEST_S(s, x, m) ( \ macro
57 TEST_S(a, "[abc123", "wrong result for %[^]]"); in main()
58 TEST_S(b, "]....", "wrong result for %[].]"); in main()
Dpopen.c15 #define TEST_S(s, x, m) ( \ macro
35 TEST_S(foo, "hello", "child process did not say hello"); in main()
Dungetc.c12 #define TEST_S(s, x, m) ( \ macro
43 TEST_S(a, "xhello, world\n", "mismatch reading ungot character"); in main()
Dsnprintf.c17 #define TEST_S(s, x, m) ( \ macro
154 TEST_S(b, "123", "incorrect output"); in main()
Dswprintf.c18 #define TEST_S(s, x, m) ( \ macro
128 TEST_S(b, L"123", "incorrect output"); in main()