diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-01-07 16:46:34 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-01-07 16:46:34 +1100 |
commit | c81863e86861bbb00df23b92470631e60314d9d1 (patch) | |
tree | de0f3b1bbc4d25fc65638ea0091a882b8fa00e1f /source4/torture/raw | |
parent | 07e01f8405f2bd3f0ee521e8aebf2c647052104f (diff) | |
download | samba-c81863e86861bbb00df23b92470631e60314d9d1.tar.gz samba-c81863e86861bbb00df23b92470631e60314d9d1.tar.bz2 samba-c81863e86861bbb00df23b92470631e60314d9d1.zip |
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
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/streams.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |