summaryrefslogtreecommitdiff
path: root/source4/torture/raw/chkpath.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-06-10 23:17:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:38 -0500
commita8069f5778ecf0f354056be334b3e134fa8d3580 (patch)
tree7634462b8c714f8385a3213f214b5d8b87430ece /source4/torture/raw/chkpath.c
parent557ea1c6410079cf0ea58186f4db60302fc02155 (diff)
downloadsamba-a8069f5778ecf0f354056be334b3e134fa8d3580.tar.gz
r1113: Test for wildcards in chkpath.
Jeremy. (This used to be commit 14cf961b7f8d273604e53ba9a889bb18cd8054d8)
Diffstat (limited to 'source4/torture/raw/chkpath.c')
-rw-r--r--source4/torture/raw/chkpath.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/raw/chkpath.c b/source4/torture/raw/chkpath.c
index 71309fd5fb5..4b063bfa484 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;