mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
9a63d8bc2a
(This used to be commit 17f01f6959
)
22 lines
358 B
C
22 lines
358 B
C
/*
|
|
* Copyright (C) 2003 by Martin Pool
|
|
*
|
|
* Test harness for StrCaseCmp
|
|
*/
|
|
|
|
#include "includes.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
if (argc != 3) {
|
|
fprintf(stderr, "usage: %s STRING1 STRING2\n"
|
|
"Compares two strings, prints the results of StrCaseCmp\n",
|
|
argv[0]);
|
|
return 2;
|
|
}
|
|
|
|
printf("%d\n", StrCaseCmp(argv[1], argv[2]));
|
|
|
|
return 0;
|
|
}
|