From a8069f5778ecf0f354056be334b3e134fa8d3580 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 10 Jun 2004 23:17:22 +0000 Subject: r1113: Test for wildcards in chkpath. Jeremy. (This used to be commit 14cf961b7f8d273604e53ba9a889bb18cd8054d8) --- source4/torture/raw/chkpath.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/torture/raw/chkpath.c') diff --git a/source4/torture/raw/chkpath.c b/source4/torture/raw/chkpath.c index 71309fd5fb..4b063bfa48 100644 --- a/source4/torture/raw/chkpath.c +++ b/source4/torture/raw/chkpath.c @@ -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; -- cgit