s4:torture/rpc: use torture_skip() if torture:Forest_Trust_Dom2_Binding isn't specifi...
authorStefan Metzmacher <metze@samba.org>
Tue, 10 Mar 2015 09:14:29 +0000 (10:14 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 27 Mar 2015 00:26:15 +0000 (01:26 +0100)
We should exit 0 in this case, as it's not really an error.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/torture/rpc/forest_trust.c

index 7650462b6c905f672017f91fd0787540b3b454e3..ccb19edf075cba615250a1ee674873a4ef6122e2 100644 (file)
@@ -782,7 +782,7 @@ static bool testcase_ForestTrusts(struct torture_context *tctx,
                                                     "Forest_Trust_Dom2_Binding",
                                                     NULL);
        if (dom2_binding_string == NULL) {
-               return true;
+               torture_skip(tctx, "torture:Forest_Trust_Dom2_Binding not specified\n");
        }
 
        status = dcerpc_parse_binding(tctx, dom2_binding_string, &dom2_binding);