summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-10-29 16:38:34 -0700
committerJeremy Allison <jra@samba.org>2009-10-29 16:38:34 -0700
commite2c84f67a35ce4e57056e6ce220b4364fd2d5787 (patch)
tree075e4488756f7f25b17ee6e5970c976dfc3cd77d /source4/torture/raw
parent921aa99b37eba62601e32ee7e8cbd447ca2d737d (diff)
downloadsamba-e2c84f67a35ce4e57056e6ce220b4364fd2d5787.tar.gz
samba-e2c84f67a35ce4e57056e6ce220b4364fd2d5787.tar.bz2
samba-e2c84f67a35ce4e57056e6ce220b4364fd2d5787.zip
Change RAW-STREAMS for s3 to allow rename over an existing stream,
we need to file a CAR to find out why Windows gives INVALID_PARAMETER for this. Jeremy.
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/streams.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/raw/streams.c b/source4/torture/raw/streams.c
index 5d2fb55ced..5c346f6de9 100644
--- a/source4/torture/raw/streams.c
+++ b/source4/torture/raw/streams.c
@@ -936,7 +936,8 @@ static bool test_stream_names(struct torture_context *tctx,
sinfo.rename_information.in.root_fid = 0;
sinfo.rename_information.in.new_name = ":MStream Two:$DATA";
status = smb_raw_setfileinfo(cli->tree, &sinfo);
- if (torture_setting_bool(tctx, "samba4", false)) {
+ if (torture_setting_bool(tctx, "samba4", false) ||
+ torture_setting_bool(tctx, "samba3", false)) {
/* why should this rename be considered invalid?? */
CHECK_STATUS(status, NT_STATUS_OK);
ret &= check_stream_list(cli, fname, 4, four);