1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

r1113: Test for wildcards in chkpath.

Jeremy.
This commit is contained in:
Jeremy Allison 2004-06-10 23:17:22 +00:00 committed by Gerald (Jerry) Carter
parent b3bc3d2ef4
commit 14cf961b7f

View File

@ -120,6 +120,11 @@ static BOOL test_chkpath(struct cli_state *cli, TALLOC_CTX *mem_ctx)
status = smb_raw_chkpath(cli->tree, &io);
CHECK_STATUS(status, NT_STATUS_OBJECT_PATH_NOT_FOUND);
io.in.path = BASEDIR "\\nt\\Visual Studio\\*\\vb6.exe\\3";
printf("testing %s\n", io.in.path);
status = smb_raw_chkpath(cli->tree, &io);
CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_INVALID);
done:
cli_close(cli->tree, fnum);
return ret;