From e2c84f67a35ce4e57056e6ce220b4364fd2d5787 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 29 Oct 2009 16:38:34 -0700 Subject: 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. --- source4/torture/raw/streams.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/torture/raw') 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); -- cgit