1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/torture/t_strcmp.c
Martin Pool 9a63d8bc2a Update usage message.
(This used to be commit 17f01f6959)
2003-03-12 02:58:45 +00:00

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;
}