summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-15 12:16:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:09 -0500
commitfc5639626166fdff83da100e5914ec246ab29b9e (patch)
tree19ad77a9556fe64e4c6726aeeb7263eb6c965267 /source4/torture/raw
parentbcec34683d1aaf606683f3c7ce3b7c80eee4619f (diff)
downloadsamba-fc5639626166fdff83da100e5914ec246ab29b9e.tar.gz
samba-fc5639626166fdff83da100e5914ec246ab29b9e.tar.bz2
samba-fc5639626166fdff83da100e5914ec246ab29b9e.zip
r8494: fixed a bug in RAW-SFILEINFO that caused inconsistent results on different platforms
(This used to be commit 9264555541a0e251730010a75d063f56971249a2)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/setfileinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/raw/setfileinfo.c b/source4/torture/raw/setfileinfo.c
index cbfb6aa6a1..50ace8aa06 100644
--- a/source4/torture/raw/setfileinfo.c
+++ b/source4/torture/raw/setfileinfo.c
@@ -444,6 +444,8 @@ BOOL torture_raw_sfileinfo(void)
fnum = fnum_saved;
printf("Trying rename with dest file open and delete_on_close\n");
+ sfinfo.rename_information.in.new_name = fnum_fname+strlen(BASEDIR)+1;
+ sfinfo.rename_information.in.overwrite = 1;
CHECK_CALL_FNUM(RENAME_INFORMATION, NT_STATUS_ACCESS_DENIED);
smbcli_close(cli->tree, fnum2);