2 * Copyright (C) 2003 by Martin Pool
4 * Test harness for StrCaseCmp
9 int main(int argc
, char *argv
[])
14 /* Needed to initialize character set */
15 lp_load("/dev/null", True
, False
, False
, True
);
18 fprintf(stderr
, "usage: %s STRING1 STRING2 [ITERS]\n"
19 "Compares two strings, prints the results of StrCaseCmp\n",
24 iters
= atoi(argv
[3]);
26 for (i
= 0; i
< iters
; i
++)
27 ret
= StrCaseCmp(argv
[1], argv
[2]);