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:32:33 +0000 (12:32 +0100)
Guenther
(cherry picked from commit 3587bb63e21c3f033a17bb493dceb64b05fe85d6)

source4/torture/rpc/session_key.c

index 1d3199944d97e98f8b3cede7d215f269021baef0..b708f58450093b0f676fd67cf9077ca624b9bde2 100644 (file)
@@ -159,6 +159,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,