| | |
| | | 'Schema: Disable schema checking' |
| | | </message> |
| | | |
| | | <call function="'modifyEntry'"> |
| | | <call function="'modifyGlobal'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : DIRECTORY_INSTANCE_DN , |
| | | 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD , |
| | | 'entryToBeModified' : '%s/schema/ldifs/disable_schema_checking.ldif' % logsRemoteDataDir } |
| | | 'attributeName' : 'check-schema' , |
| | | 'attributeValue' : 'false' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | |
| | | 'Schema: Enable Schema Checking' |
| | | </message> |
| | | |
| | | <call function="'modifyEntry'"> |
| | | <call function="'modifyGlobal'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : DIRECTORY_INSTANCE_DN , |
| | | 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD , |
| | | 'entryToBeModified' : '%s/schema/ldifs/enable_schema_checking.ldif' % logsRemoteDataDir } |
| | | 'attributeName' : 'check-schema' , |
| | | 'attributeValue' : 'true' } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | |
| | | 'Schema: Disable syntax checking' |
| | | </message> |
| | | |
| | | <call function="'modifyEntry'"> |
| | | <call function="'dsconfig'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : DIRECTORY_INSTANCE_DN , |
| | | 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD , |
| | | 'entryToBeModified' : '%s/schema/ldifs/disable_syntax_checking.ldif' % logsRemoteDataDir } |
| | | 'subcommand' : 'set-attribute-syntax-prop' , |
| | | 'objectType' : 'syntax-name' , |
| | | 'objectName' : 'Generalized Time', |
| | | 'optionsString' : '--set enabled:false' |
| | | } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |
| | |
| | | </sequence> |
| | | </testcase> |
| | | |
| | | <!--- Test Case : Schema: Disable Syntax Checking --> |
| | | <testcase name="'Core: Schema: Disable Syntax Checking'"> |
| | | <!--- Test Case : Schema: Enable Syntax Checking --> |
| | | <testcase name="'Core: Schema: Enable Syntax Checking'"> |
| | | <sequence> |
| | | <call function="'testCase_Preamble'"/> |
| | | <message> |
| | | 'Schema: Enable syntax checking' |
| | | </message> |
| | | |
| | | <call function="'modifyEntry'"> |
| | | <call function="'dsconfig'"> |
| | | { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , |
| | | 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , |
| | | 'dsInstanceDn' : DIRECTORY_INSTANCE_DN , |
| | | 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD , |
| | | 'entryToBeModified' : '%s/schema/ldifs/enable_syntax_checking.ldif' % logsRemoteDataDir } |
| | | 'subcommand' : 'set-attribute-syntax-prop' , |
| | | 'objectType' : 'syntax-name' , |
| | | 'objectName' : 'Generalized Time', |
| | | 'optionsString' : '--set enabled:true' |
| | | } |
| | | </call> |
| | | |
| | | <call function="'checktestRC'"> |