s4:torture:raw:notify: torture_assert on creation of secondary tcon
[sfrench/samba-autobuild/.git] / source4 / torture / raw / notify.c
index 02956ce4be25fb8a971784a1fbb228e913e2d4bb..1b747da1fd53521b31296e81043a37119ecadcfb 100644 (file)
@@ -1800,6 +1800,8 @@ static bool test_notify_tcon(struct torture_context *torture,
 
        printf("TESTING WITH SECONDARY TCON\n");
        tree = secondary_tcon(cli, torture);
+       torture_assert_not_null_goto(torture, tree, ret, done,
+                                    "failed to create secondary tcon");
 
        printf("Testing notify mkdir\n");
        req = smb_raw_changenotify_send(cli->tree, &notify);