RAW-STREAMS: do a exit on the session after each sub tests
authorStefan Metzmacher <metze@samba.org>
Wed, 12 Mar 2008 13:21:50 +0000 (14:21 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 12 Mar 2008 13:23:30 +0000 (14:23 +0100)
metze
(This used to be commit 3f7fef8b8c567379649611637d69c89d77d11d6c)

source4/torture/raw/streams.c

index b6680e081e6d7e3bdd4dc37148fd75f205d9c814..1dab36c28b23b558a0cc918e43f4b98f24c6bc28 100644 (file)
@@ -560,7 +560,9 @@ bool torture_raw_streams(struct torture_context *torture,
        }
 
        ret &= test_stream_io(torture, cli, torture);
        }
 
        ret &= test_stream_io(torture, cli, torture);
+       smb_raw_exit(cli->session);
        ret &= test_stream_sharemodes(torture, cli, torture);
        ret &= test_stream_sharemodes(torture, cli, torture);
+       smb_raw_exit(cli->session);
        if (!torture_setting_bool(torture, "samba4", false)) {
                ret &= test_stream_delete(torture, cli, torture);
        }
        if (!torture_setting_bool(torture, "samba4", false)) {
                ret &= test_stream_delete(torture, cli, torture);
        }