git.samba.org
/
ira
/
wip.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
622769001ba4a834bfe9f60c47b25bd24ec2b6af
[ira/wip.git]
/
source4
/
torture
/
t_strcmp.c
1
/*
2
* Copyright (C) 2003 by Martin Pool
3
*
4
* Test harness for StrCaseCmp
5
*/
6
7
#include "includes.h"
8
9
int main(int argc, char *argv[])
10
{
11
if (argc != 3) {
12
fprintf(stderr, "usage: %s STRING1 STRING2\nCompares two strings\n",
13
argv[0]);
14
return 2;
15
}
16
17
printf("%d\n", StrCaseCmp(argv[1], argv[2]));
18
19
return 0;
20
}