TMP: torture:smb2.session: only run bind1 test
authorMichael Adam <obnox@samba.org>
Tue, 5 May 2015 12:46:55 +0000 (14:46 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 10 Feb 2020 14:17:27 +0000 (15:17 +0100)
source4/torture/smb2/session.c

index 313a8d0d3ed2b4266d92ec163108ed88b0747b84..abb8706444ec3e2073ff5f0a5bb3ca18efca0b06 100644 (file)
@@ -1876,6 +1876,10 @@ struct torture_suite *torture_smb2_session_init(TALLOC_CTX *ctx)
                                      test_session_expire_disconnect);
        if (0) torture_suite_add_1smb2_test(suite, "bind1", test_session_bind1);
 
+       TALLOC_FREE(suite);
+       suite = torture_suite_create(talloc_autofree_context(), "session");
+
+       torture_suite_add_1smb2_test(suite, "bind1", test_session_bind1);
        suite->description = talloc_strdup(suite, "SMB2-SESSION tests");
 
        return suite;