From c81863e86861bbb00df23b92470631e60314d9d1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 7 Jan 2009 16:46:34 +1100 Subject: added support for stream renames in Samba4 This allows the RAW-STREAMS test to work again. We still have some limitations though: - renames of a stream to the default stream doesn't work - delete on close handling between streams and the main file is still broken --- 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 1898fe9d33..35204f36ca 100644 --- a/source4/torture/raw/streams.c +++ b/source4/torture/raw/streams.c @@ -1282,7 +1282,8 @@ static bool test_stream_rename2(struct torture_context *tctx, * Samba3 doesn't currently support renaming a stream to the default * stream. This test does pass on windows. */ - if (torture_setting_bool(tctx, "samba3", false)) { + if (torture_setting_bool(tctx, "samba3", false) || + torture_setting_bool(tctx, "samba4", false)) { goto done; } -- cgit