summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-05 15:34:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:18 -0500
commitc3ee5d6f751679e04886fa450555295e74cc56bc (patch)
tree56abdc9ca7e71cf22d522be54c5a02afe62b8b97 /source4/torture/raw
parent370016c0d2d88b4f2cb454278185ba982b939486 (diff)
downloadsamba-c3ee5d6f751679e04886fa450555295e74cc56bc.tar.gz
samba-c3ee5d6f751679e04886fa450555295e74cc56bc.tar.bz2
samba-c3ee5d6f751679e04886fa450555295e74cc56bc.zip
r9121: use the older non-passthru level for setting delete on close
disposition in the RAW-UNLINK test (this allows it to work with netapp servers) (This used to be commit 4f9cfd10bf92e5abf3c09bb0bf6cca3dfc3b6dfb)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/unlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/unlink.c b/source4/torture/raw/unlink.c
index 78ff0447da..855ecaf077 100644
--- a/source4/torture/raw/unlink.c
+++ b/source4/torture/raw/unlink.c
@@ -195,7 +195,7 @@ static BOOL test_delete_on_close(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
printf("Testing with delete_on_close 0\n");
fnum = create_complex_file(cli, mem_ctx, fname);
- sfinfo.disposition_info.level = RAW_SFILEINFO_DISPOSITION_INFORMATION;
+ sfinfo.disposition_info.level = RAW_SFILEINFO_DISPOSITION_INFO;
sfinfo.disposition_info.file.fnum = fnum;
sfinfo.disposition_info.in.delete_on_close = 0;
status = smb_raw_setfileinfo(cli->tree, &sfinfo);
@@ -223,7 +223,7 @@ static BOOL test_delete_on_close(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
status = create_directory_handle(cli->tree, dname, &fnum);
CHECK_STATUS(status, NT_STATUS_OK);
- sfinfo.disposition_info.level = RAW_SFILEINFO_DISPOSITION_INFORMATION;
+ sfinfo.disposition_info.level = RAW_SFILEINFO_DISPOSITION_INFO;
sfinfo.disposition_info.file.fnum = fnum;
sfinfo.disposition_info.in.delete_on_close = 0;
status = smb_raw_setfileinfo(cli->tree, &sfinfo);