1
0
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:
Andrew Tridgell 2000-05-24 21:11:34 +00:00
parent 0fca9817b1
commit d29f8af77b
2 changed files with 4 additions and 7 deletions

View File

@ -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);

View File

@ -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[],