mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
minor fixes
(This used to be commit 4d00314ec5b056101b05c38cc68dd4934c83c825)
This commit is contained in:
parent
0fca9817b1
commit
d29f8af77b
@ -456,7 +456,6 @@ static void usage(void)
|
||||
"Usage:\n\
|
||||
locktest //server1/share1 //server2/share2 [options..]\n\
|
||||
options:\n\
|
||||
-W workgroup\n\
|
||||
-U user%%pass\n\
|
||||
-s seed\n\
|
||||
-o numops\n\
|
||||
@ -541,9 +540,6 @@ static void usage(void)
|
||||
case 'h':
|
||||
usage();
|
||||
exit(1);
|
||||
case 'W':
|
||||
pstrcpy(workgroup, optarg);
|
||||
break;
|
||||
default:
|
||||
printf("Unknown option %c (%d)\n", (char)opt, opt);
|
||||
exit(1);
|
||||
|
@ -204,9 +204,10 @@ static void testpair(struct cli_state *cli, char *mask, char *file)
|
||||
if (old_list) {
|
||||
cli_list_old(cli, mask, aHIDDEN | aDIR, listfn);
|
||||
} else {
|
||||
cli_list(cli, mask, aHIDDEN | aDIR, listfn);
|
||||
finfo = NULL;
|
||||
get_short_name(cli, file, short_name);
|
||||
finfo = NULL;
|
||||
fstrcpy(res1, "---");
|
||||
cli_list(cli, mask, aHIDDEN | aDIR, listfn);
|
||||
}
|
||||
|
||||
res2 = reg_test(mask, file, short_name);
|
||||
@ -218,7 +219,7 @@ static void testpair(struct cli_state *cli, char *mask, char *file)
|
||||
|
||||
cli_unlink(cli, file);
|
||||
|
||||
if (count % 500 == 0) DEBUG(0,("%d\n", count));
|
||||
if (count % 100 == 0) DEBUG(0,("%d\n", count));
|
||||
}
|
||||
|
||||
static void test_mask(int argc, char *argv[],
|
||||
|
Loading…
x
Reference in New Issue
Block a user