s4:torture:raw:notify: torture_assert on creation of secondary tcon
authorMichael Adam <obnox@samba.org>
Fri, 27 Mar 2015 09:34:34 +0000 (10:34 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 30 Mar 2015 11:41:26 +0000 (13:41 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
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);