mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gary Williams
16.40.2012 0875871ddc4452c5c200b1839a047cdcd2a7559b
Set to false strict-format for certificate syntax in binary attributes functional test
1 files modified
27 ■■■■■ changed files
opends/tests/staf-tests/functional-tests/testcases/core/binaryattr/core_binaryattr_tests.xml 27 ●●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/core/binaryattr/core_binaryattr_tests.xml
@@ -24,6 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2009-2010 Sun Microsystems, Inc.
 !      Portions Copyright 2012 ForgeRock AS
 ! -->
<stax>
@@ -208,6 +209,32 @@
              templateName='binaryattr.template'
            </script>
            <!-- Turn off the strict Certificate Syntax checking -->
            <call function="'testStep'">
              { 'stepMessage' : 'Modifying Certificate Syntax string-format to false.' }
            </call>
            <script>
              options=[]
              options.append('--syntax-name "Certificate"')
              options.append('--set "strict-format:false"')
              dsconfigOptions=' '.join(options)
            </script>
            <call function="'dsconfig'">
              { 'dsInstanceHost'      : DIRECTORY_INSTANCE_HOST,
                'dsInstanceAdminPort' : DIRECTORY_INSTANCE_ADMIN_PORT,
                'dsInstanceDn'        : DIRECTORY_INSTANCE_DN,
                'dsInstancePswd'      : DIRECTORY_INSTANCE_PSWD,
                'subcommand'          : 'set-attribute-syntax-prop',
                'optionsString'       : dsconfigOptions
              }
            </call>
            <call function="'testStep'">
              { 'stepMessage' : 'On line import of ldif file containing binary attributes.' }
            </call>
            <!-- On line import of ldif file containing binary attribute -->
            <call function="'runFunction'">
              { 'functionName'      : 'ImportLdifWithScript'                        ,