summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-04 14:57:37 -0700
committerJeremy Allison <jra@samba.org>2011-05-05 00:59:40 +0200
commit1c714850d5068864b1f04a4211223dec11a30d67 (patch)
treeb890a5ba8a0f900f667ce79210ac0a4593f02642 /source4/torture/smb2
parentff215f5c89c91a22c910400c8ac81d82d7459ba0 (diff)
downloadsamba-1c714850d5068864b1f04a4211223dec11a30d67.tar.gz
samba-1c714850d5068864b1f04a4211223dec11a30d67.tar.bz2
samba-1c714850d5068864b1f04a4211223dec11a30d67.zip
Clean up some const and other compiler warnings.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r--source4/torture/smb2/acls.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/torture/smb2/acls.c b/source4/torture/smb2/acls.c
index 3883ae5055..fa6c002da7 100644
--- a/source4/torture/smb2/acls.c
+++ b/source4/torture/smb2/acls.c
@@ -1662,6 +1662,7 @@ done:
CHECK_STATUS_FOR_BIT_ACTION(status, bits, do {} while (0)); \
} while (0)
+#if 0
/* test what access mask is needed for getting and setting security_descriptors */
/* Note: This test was copied from raw/acls.c. */
static bool test_sd_get_set(struct torture_context *tctx, struct smb2_tree *tree)
@@ -1849,6 +1850,7 @@ done:
return ret;
}
+#endif
/*
basic testing of SMB2 ACLs
@@ -1863,9 +1865,10 @@ struct torture_suite *torture_smb2_acls_init(void)
torture_suite_add_1smb2_test(suite, "INHERITANCE", test_inheritance);
torture_suite_add_1smb2_test(suite, "INHERITFLAGS", test_inheritance_flags);
torture_suite_add_1smb2_test(suite, "DYNAMIC", test_inheritance_dynamic);
- /* XXX This test does not work against XP or Vista.
+#if 0
+ /* XXX This test does not work against XP or Vista. */
torture_suite_add_1smb2_test(suite, "GETSET", test_sd_get_set);
- */
+#endif
suite->description = talloc_strdup(suite, "SMB2-ACLS tests");