summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2015-03-27 10:34:34 +0100
committerGünther Deschner <gd@samba.org>2015-03-30 13:41:26 +0200
commitb3a688c1b7f3d40dd7e1732dce609e0c93ebd0c9 (patch)
tree1583de3801691442b3b0608e6f5d9ec8b89e8b50 /source4/torture/raw
parent65504bc8e472d2cf936a04be19bfc9b11a53a686 (diff)
downloadsamba-b3a688c1b7f3d40dd7e1732dce609e0c93ebd0c9.tar.gz
s4:torture:raw:notify: torture_assert on creation of secondary tcon
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/notify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c
index 02956ce4be2..1b747da1fd5 100644
--- a/source4/torture/raw/notify.c
+++ b/source4/torture/raw/notify.c
@@ -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);