RAW-STREAMS: do a exit on the session after each sub tests
[samba.git] / 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);
+       smb_raw_exit(cli->session);
        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);
        }