1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source/torture/t_strcmp.c

21 lines
318 B
C
Raw Normal View History

0001-01-01 02:30:17 +02:30
/*
* 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;
}