summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-26 22:44:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:48 -0500
commit3b5c992481d510adbafba73f737360ebb21e3540 (patch)
tree48f2dadfd7d85d730443296b65f733c947588db0 /source4/torture/raw
parent86bd884b1e7df91e5c9ee903325beab53d12bb7a (diff)
downloadsamba-3b5c992481d510adbafba73f737360ebb21e3540.tar.gz
samba-3b5c992481d510adbafba73f737360ebb21e3540.tar.bz2
samba-3b5c992481d510adbafba73f737360ebb21e3540.zip
r3270: - added another unlink test
- removed BASE-TRANS2 from the list of tests to be worked on (its already in the "passes" list) (This used to be commit 8ba10229c3860b955de698c3e2660cf6d18e2f22)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/unlink.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/raw/unlink.c b/source4/torture/raw/unlink.c
index 9c408105df..b67837b598 100644
--- a/source4/torture/raw/unlink.c
+++ b/source4/torture/raw/unlink.c
@@ -73,6 +73,11 @@ static BOOL test_unlink(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
status = smb_raw_unlink(cli->tree, &io);
CHECK_STATUS(status, NT_STATUS_OK);
+ io.in.pattern = fname;
+ io.in.attrib = FILE_ATTRIBUTE_HIDDEN;
+ status = smb_raw_unlink(cli->tree, &io);
+ CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_NOT_FOUND);
+
printf("Trying a directory\n");
io.in.pattern = BASEDIR;
io.in.attrib = 0;