Searched refs:str2 (Results 1 – 1 of 1) sorted by relevance
/string/ |
A D | tst-svc2.c | 9 const char *str2; member 20 compare (const char *str1, const char *str2, int exp) in compare() argument 22 int c = strverscmp (str1, str2); in compare() 35 if (compare (tests[i].str1, tests[i].str2, -1)) in do_test() 37 printf ("FAIL: \"%s\" > \"%s\"\n", tests[i].str1, tests[i].str2); in do_test() 40 if (compare (tests[i].str2, tests[i].str1, +1)) in do_test() 42 printf ("FAIL: \"%s\" > \"%s\"\n", tests[i].str2, tests[i].str1); in do_test() 51 char *copy2 = strdupa (tests[i].str2); in do_test() 52 if (compare (tests[i].str2, copy2, 0)) in do_test() 54 printf ("FAIL: \"%s\" != \"%s\"\n", tests[i].str2, copy2); in do_test()
|
Completed in 6 milliseconds