1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source4/torture/t_strcmp.c
Andrew Tridgell ef2e26c91b first public release of samba4 code
(This used to be commit b0510b5428)
2003-08-13 01:53:07 +00:00

21 lines
318 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\nCompares two strings\n",
argv[0]);
return 2;
}
printf("%d\n", StrCaseCmp(argv[1], argv[2]));
return 0;
}