s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS.
authorGünther Deschner <gd@samba.org>
Thu, 29 Oct 2009 13:50:56 +0000 (14:50 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 30 Oct 2009 11:28:49 +0000 (12:28 +0100)
Guenther

source4/torture/rpc/session_key.c

index efedf7e7ef0826c30ded2b00f90b7e781c9f8b06..d0a2009fd1071a8c3012a079605bbb54701444f2 100644 (file)
@@ -158,6 +158,12 @@ static bool test_secrets(struct torture_context *torture, const void *_data)
 
        binding->flags |= settings->bindoptions;
 
+       if (binding->flags & DCERPC_PUSH_BIGENDIAN) {
+               if (torture_setting_bool(torture, "samba3", false)) {
+                       torture_skip(torture, "skipping bigendian test against samba3\n");
+               }
+       }
+
        status = dcerpc_pipe_connect_b(torture, &p, binding,
                                       &ndr_table_lsarpc,
                                       cmdline_credentials,