r12009: made the LOCAL-SDDL test less verbose by default, and add it to the
authorAndrew Tridgell <tridge@samba.org>
Fri, 2 Dec 2005 03:21:29 +0000 (03:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:46:58 +0000 (13:46 -0500)
standard tests for the build farm
(This used to be commit 9d6d9b6e50dfe5513f332668b860e6a55af3a39c)

source4/script/tests/test_local.sh
source4/torture/local/sddl.c

index 324cad1118987e670da3f57b48052fd515d0cedb..eda7b44ca511d5d496300f08a9536869ca4a7f45 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-local_tests="LOCAL-NTLMSSP LOCAL-TALLOC LOCAL-MESSAGING LOCAL-IRPC LOCAL-BINDING LOCAL-IDTREE LOCAL-SOCKET LOCAL-PAC LOCAL-STRLIST"
+local_tests="LOCAL-NTLMSSP LOCAL-TALLOC LOCAL-MESSAGING LOCAL-IRPC LOCAL-BINDING LOCAL-IDTREE LOCAL-SOCKET LOCAL-PAC LOCAL-STRLIST LOCAL-SDDL"
 
 if [ $# -lt 0 ]; then
 cat <<EOF
index fa7d15f6064039bfba67bb1c65640351c6a7280e..d6c01307981beb5b167e24428ade83150c6ef618 100644 (file)
@@ -35,7 +35,9 @@ static BOOL test_sddl(TALLOC_CTX *mem_ctx, const char *sddl)
                printf("Failed to decode '%s'\n", sddl);
                return False;
        }
-       NDR_PRINT_DEBUG(security_descriptor, sd);
+       if (DEBUGLVL(2)) {
+               NDR_PRINT_DEBUG(security_descriptor, sd);
+       }
        talloc_free(sd);
        return True;
 }