Searched refs:str1 (Results 1 – 1 of 1) sorted by relevance
/string/ |
A D | tst-svc2.c | 8 const char *str1; 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() 45 char *copy1 = strdupa (tests[i].str1); in do_test() 46 if (compare (tests[i].str1, copy1, 0)) in do_test() 48 printf ("FAIL: \"%s\" != \"%s\"\n", tests[i].str1, copy1); in do_test()
|
Completed in 4 milliseconds