/posix/ |
A D | runtests.c | 37 int expected; member 69 if (t->expected == 2) in run_a_test() 81 else if (t->expected == 2) in run_a_test() 92 if (err != t->expected) in run_a_test() 96 t->pattern, t->data, t->expected, err); in run_a_test()
|
A D | tst-regex.c | 51 int icase, int expected); 53 size_t memlen, int icase, int expected); 145 test_expr (const char *expr, int expected, int expectedicase) in test_expr() argument 159 result |= run_test (expr, mem, memlen, 0, expected); in test_expr() 163 result |= run_test_backwards (expr, mem, memlen, 0, expected); in test_expr() 173 result |= run_test (expr, mem, memlen, 0, expected); in test_expr() 197 result |= run_test (uexpr, umem, umemlen, 0, expected); in test_expr() 212 int expected) in run_test() argument 349 return cnt != expected; in run_test() 355 int icase, int expected) in run_test_backwards() argument [all …]
|
A D | bug-getopt1.c | 7 one_test (const char *fmt, int argc, char *argv[], int expected[argc - 1]) in one_test() 22 if (c != expected[i]) in one_test() 25 fmt, i, expected[i], c); in one_test()
|
A D | bug-getopt2.c | 7 one_test (const char *fmt, int argc, char *argv[], int expected[argc - 1]) in one_test() 20 if (c != expected[i]) in one_test() 23 fmt, i, expected[i], c); in one_test()
|
A D | bug-regex24.c | 8 static const char *expected[N] = variable 50 if (strlen (expected[i]) != len in do_test() 51 || memcmp (expected[i], str + m[i].rm_so, len) != 0) in do_test()
|
A D | bug-getopt5.c | 15 one_test (const char *fmt, int argc, char *argv[], int n, int expected[n]) in one_test() 30 if (c != expected[i]) in one_test() 33 fmt, i, expected[i], c); in one_test()
|
A D | bug-getopt3.c | 15 one_test (const char *fmt, int argc, char *argv[], int n, int expected[n], in one_test() 31 if (c != expected[i]) in one_test() 34 fmt, i, expected[i], c); in one_test()
|
A D | bug-getopt4.c | 14 one_test (const char *fmt, int argc, char *argv[], int n, int expected[n]) in one_test() 29 if (c != expected[i]) in one_test() 32 argv[0], fmt, i, expected[i], c); in one_test()
|
A D | testfnm.c | 9 int expected; member 77 match != tests[i].expected ? "FAIL" : "OK"); in main() 79 if (match != tests[i].expected) in main()
|
A D | PTESTS | 132 #W the expected result for [[:alnum:]]* is 2-7 which is wrong 135 #W the expected result for [^[:alnum:]]* is 2-5 which is wrong 138 #W the expected result for [[:alpha:]]* is 2-5 which is wrong 147 #W the expected result for [[:digit:]]* is 2-3 which is wrong 157 #W the expected result for [[:punct:]]* is 2-2 which is wrong 163 #W the expected result for [^[:space:]]* is 2-9 which is wrong 166 #W the expected result for [[:upper:]]* is 2-3 which is wrong 170 #W the expected result for [[:xdigit:]]* is 2-5 which is wrong 173 #W the expected result for [^[:xdigit:]]* is 2-7 which is wrong 294 #W the expected result for \(*\)*\1* is 2-2 which isn't correct [all …]
|
A D | tst-getopt_long1.c | 58 static const char expected[] = "\ in do_test() local 61 return c != '?' || strcmp (line, expected) != 0; in do_test()
|
A D | tst-execvpe6.c | 91 check_output (const char *expected) in check_output() argument 109 if (strcmp (line, expected) != 0) in check_output()
|
A D | tst-rfc3484-3.c | 91 static const int expected[naddrs] = variable 151 int here = memcmp (&addr, &addrs[expected[i]].sin_addr, in do_test()
|
A D | tst-rfc3484.c | 92 static int expected[naddrs] = variable 143 int here = memcmp (&addr, &addrs[expected[i]].sin_addr, in do_test()
|
A D | tst-regex.input | 1609 expected variable names. 5670 Always define test_dir. Improve message about expected signal. 10963 * wctype/wctype.c: Return value with expected byte order.
|
/posix/rxspencer/ |
A D | tests | 4 # C flag given, regcomp() is expected to fail, and the third field is the 7 # Otherwise it is expected to succeed, and the third field is the string to 9 # expected to fail. If there is a fourth field, it is the substring that 10 # the RE is expected to match. If there is a fifth field, it is a comma- 13 # starting with @ indicates that the (sub)expression is expected to match 22 # C regcomp() error expected, third field is error name
|