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

gary_williams
14.52.2006 95e14a3b86550c320beaed7dd4af8c8d80e7b53c
functional tests - align functional tests with tool changes
15 files modified
387 ■■■■■ changed files
opends/tests/functional-tests/shared/functions/dsadm.xml 18 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/functions/ldap.xml 24 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/functions/utils.xml 2 ●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/core/core.xml 30 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/core/core_entry_cache.xml 30 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/core/core_search_sizelimit.xml 30 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/core/core_search_timelimit.xml 30 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/core/core_setup.xml 30 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/core/core_tf_filters.xml 30 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/core/core_version_report.xml 30 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/quickstart/quickstart.xml 39 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/runFuncTests.xml 4 ●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/schema/schema.xml 30 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/schema/schema_rfc_tests.xml 30 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/testcases/schema/schema_setup.xml 30 ●●●●● patch | view | raw | blame | history
opends/tests/functional-tests/shared/functions/dsadm.xml
@@ -48,7 +48,7 @@
        <process name="'Configure DS'">
            <location>'%s' % (STAF_REMOTE_HOSTNAME) </location>
            <command>'%s/configure-ds.%s' % (OPENDS_BINPATH,fileExt)</command>
            <command>'%s/configure-ds%s' % (OPENDS_BINPATH,fileExt)</command>
            <parms>'-p %s -b "%s"' % (dsInstancePort,dsInstanceSuffix)</parms>
            <workdir>'%s' % (OPENDS_BINPATH)</workdir>
            <envs>
@@ -84,7 +84,7 @@
        <process name="'Start DS'">
            <location>'%s' % (STAF_REMOTE_HOSTNAME) </location>
            <command>'%s/start-ds.%s' % (dsbinpath,fileExt)</command>
            <command>'%s/start-ds%s' % (dsbinpath,fileExt)</command>
            <workdir>'%s' % (dsbinpath)</workdir>
            <envs>
                ['PATH=/bin:/usr/bin:%s' % (dsbinpath), 'JAVA_HOME=%s' % (JAVA_HOME)]
@@ -120,7 +120,7 @@
        <process name="'Stop DS'">
            <location>'%s' % (STAF_REMOTE_HOSTNAME) </location>
            <command>'%s/stop-ds.%s' % (OPENDS_BINPATH,fileExt)</command>
            <command>'%s/stop-ds%s' % (OPENDS_BINPATH,fileExt)</command>
            <parms>'-p %s' % (dsInstancePort)</parms>
            <workdir>'%s' % (OPENDS_BINPATH)</workdir>
            <envs>
@@ -277,11 +277,11 @@
      <sequence>
        <message>
          'import-ldif.%s -l %s -n %s %s' % (fileExt,ldifFile,backEnd,extraParams)
          'import-ldif%s -l %s -n %s %s' % (fileExt,ldifFile,backEnd,extraParams)
        </message>
        <process name="'Offline Import'">
          <location>'%s' % (STAF_REMOTE_HOSTNAME) </location>
          <command>'%s/import-ldif.%s' % (OPENDS_BINPATH,fileExt)</command>
          <command>'%s/import-ldif%s' % (OPENDS_BINPATH,fileExt)</command>
          <parms>'-l %s -n %s %s' % (ldifFile,backEnd,extraParams)</parms>
          <workdir>'%s' % (OPENDS_BINPATH)</workdir>
          <envs>
@@ -500,11 +500,11 @@
        <!-- On line Import Task with ldapmodify -->
        <message>
          'ldapmodify.%s -a -h %s -p %s -D "%s" -w %s' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd)
          'ldapmodify%s -a -h %s -p %s -D "%s" -w %s' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd)
        </message>
        <process name="'On line Import Task'">
          <location>'%s' % (STAF_REMOTE_HOSTNAME) </location>
          <command>'%s/ldapmodify.%s' % (OPENDS_BINPATH,fileExt)</command>
          <command>'%s/ldapmodify%s' % (OPENDS_BINPATH,fileExt)</command>
          <parms>'-a -h %s -p %s -D "%s" -w %s' % (dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd)</parms>
          <workdir>'%s' % (OPENDS_BINPATH)</workdir>
          <envs>
@@ -541,11 +541,11 @@
          <sequence>
          
            <message>
              'ldapsearch.%s -h %s -p %s -D "%s" -w %s -s base -b "%s" "objectclass=*" ds-task-state' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,taskDN)
              'ldapsearch%s -h %s -p %s -D "%s" -w %s -s base -b "%s" "objectclass=*" ds-task-state' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,taskDN)
            </message>
            <process name="'Search On line Import Task'">
              <location>'%s' % (STAF_REMOTE_HOSTNAME) </location>
              <command>'%s/ldapsearch.%s' % (OPENDS_BINPATH,fileExt)</command>
              <command>'%s/ldapsearch%s' % (OPENDS_BINPATH,fileExt)</command>
              <parms>'-h %s -p %s -D "%s" -w %s -s base -b "%s" "objectclass=*" ds-task-state' % (dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,taskDN)</parms>
              <workdir>'%s' % (OPENDS_BINPATH)</workdir>
              <envs>
opends/tests/functional-tests/shared/functions/ldap.xml
@@ -58,11 +58,11 @@
      <sequence>
        <message>
            'ldapmodify.%s -a -h %s -p %s -D "%s" -w %s %s -f "%s"' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,entryToBeAdded)
            'ldapmodify%s -a -h %s -p %s -D "%s" -w %s %s -f "%s"' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,entryToBeAdded)
        </message>
        <process name="'Add Entry'">
            <location>'%s' % (STAF_REMOTE_HOSTNAME) </location>
            <command>'%s/ldapmodify.%s' % (OPENDS_BINPATH,fileExt)</command>
            <command>'%s/ldapmodify%s' % (OPENDS_BINPATH,fileExt)</command>
            <parms>'-a -h %s -p %s -D "%s" -w %s %s -f "%s"' % (dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,entryToBeAdded)</parms>
            <workdir>'%s' % (OPENDS_BINPATH)</workdir>
            <envs>
@@ -111,11 +111,11 @@
      <sequence>
        <message>
            'ldapmodify.%s -h %s -p %s -D "%s" -w %s %s -f "%s"' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,entryToBeModified)
            'ldapmodify%s -h %s -p %s -D "%s" -w %s %s -f "%s"' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,entryToBeModified)
        </message>
        <process name="'Modify Entry'">
            <location>'%s' % (STAF_REMOTE_HOSTNAME) </location>
            <command>'%s/ldapmodify.%s' % (OPENDS_BINPATH,fileExt)</command>
            <command>'%s/ldapmodify%s' % (OPENDS_BINPATH,fileExt)</command>
            <parms>'-h %s -p %s -D "%s" -w %s %s -f "%s"' % (dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,entryToBeModified)</parms>
            <workdir>'%s' % (OPENDS_BINPATH)</workdir>
            <envs>
@@ -167,11 +167,11 @@
      <sequence>
        <message>
            'ldapsearch.%s -h %s -p %s -D "%s" -w %s %s -b "%s" "%s"' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,dsBaseDN,dsFilter)
            'ldapsearch%s -h %s -p %s -D "%s" -w %s %s -b "%s" "%s"' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,dsBaseDN,dsFilter)
        </message>
        <process name="'Search Base Object'">
            <location>'%s' % (STAF_REMOTE_HOSTNAME) </location>
            <command>'%s/ldapsearch.%s' % (OPENDS_BINPATH,fileExt)</command>
            <command>'%s/ldapsearch%s' % (OPENDS_BINPATH,fileExt)</command>
            <parms>'-h %s -p %s -D "%s" -w %s %s -b "%s" "%s"' % (dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,dsBaseDN,dsFilter)</parms>
            <workdir>'%s' % (OPENDS_BINPATH)</workdir>
            <envs>
@@ -212,11 +212,11 @@
      <sequence>
        <message>
            'ldapsearch.%s -h %s -p %s %s -b "%s" "%s"' % (fileExt,dsInstanceHost,dsInstancePort,extraParams,dsBaseDN,dsFilter)
            'ldapsearch%s -h %s -p %s %s -b "%s" "%s"' % (fileExt,dsInstanceHost,dsInstancePort,extraParams,dsBaseDN,dsFilter)
        </message>
        <process name="'Anonymous Search Base Object'">
            <location>'%s' % (STAF_REMOTE_HOSTNAME) </location>
            <command>'%s/ldapsearch.%s' % (OPENDS_BINPATH,fileExt)</command>
            <command>'%s/ldapsearch%s' % (OPENDS_BINPATH,fileExt)</command>
            <parms>'-h %s -p %s %s -b "%s" "%s"' % (dsInstanceHost,dsInstancePort,extraParams,dsBaseDN,dsFilter)</parms>
            <workdir>'%s' % (OPENDS_BINPATH)</workdir>
            <envs>
@@ -260,11 +260,11 @@
      <sequence>
        <message>
            'ldapdelete.%s -h %s -p %s -D "%s" -w %s %s "%s"' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,dsBaseDN)
            'ldapdelete%s -h %s -p %s -D "%s" -w %s %s "%s"' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,dsBaseDN)
        </message>
        <process name="'Delete Object'">
            <location>'%s' % (STAF_REMOTE_HOSTNAME) </location>
            <command>'%s/ldapdelete.%s' % (OPENDS_BINPATH,fileExt)</command>
            <command>'%s/ldapdelete%s' % (OPENDS_BINPATH,fileExt)</command>
            <parms>'-h %s -p %s -D "%s" -w %s %s "%s"' % (dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,dsBaseDN)</parms>
            <workdir>'%s' % (OPENDS_BINPATH)</workdir>
            <envs>
@@ -316,11 +316,11 @@
      <sequence>
        <message>
            'ldapcompare.%s -h %s -p %s -D "%s" -w %s %s  "%s" "%s"' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,attrToBeCompared,entryToBeCompared)
            'ldapcompare%s -h %s -p %s -D "%s" -w %s %s  "%s" "%s"' % (fileExt,dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,attrToBeCompared,entryToBeCompared)
        </message>
        <process name="'Compare Entry'">
            <location>'%s' % (STAF_REMOTE_HOSTNAME) </location>
            <command>'%s/ldapcompare.%s' % (OPENDS_BINPATH,fileExt)</command>
            <command>'%s/ldapcompare%s' % (OPENDS_BINPATH,fileExt)</command>
            <parms>'-h %s -p %s -D "%s" -w %s %s  "%s" "%s"' % (dsInstanceHost,dsInstancePort,dsInstanceDn,dsInstancePswd,extraParams,attrToBeCompared,entryToBeCompared)</parms>
            <workdir>'%s' % (OPENDS_BINPATH)</workdir>
            <envs>
opends/tests/functional-tests/shared/functions/utils.xml
@@ -31,7 +31,7 @@
    <function name="checkRC">
    <function-prolog>
        This function checks the STAF return code against an expected return code
        This function checks a return code against an expected return code
    </function-prolog>
    <function-map-args>
opends/tests/functional-tests/testcases/core/core.xml
@@ -34,36 +34,6 @@
      <sequence>
      <script>
          STAXLogMessage = 1
          SRCFILE = '%s/%s' % (ZIPPATH,ZIPNAME)
          DSTFILE = '%s/%s' % (TMPDIR,ZIPNAME)
          OPENDS_BINPATH = '%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME)
      </script>
      <!--- Import all the shared libraries
            may be we should have a loadlibs.xml to
            load all the libs -->
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/utils.xml' % (TESTS_FUNCTIONS_DIR)"/>
      <!--- Set OS related variables on remote host -->
      <message>
          'Set OS related variables on remote host.'
      </message>
      <call function="'setOSvariables'">
          { 'hostname' : STAF_REMOTE_HOSTNAME }
      </call>
      <script>OSName= STAXResult</script>
      <if expr="OSName == 'Win2003'">
        <script>fileExt= 'bat'</script>
      <else>
        <script>fileExt= 'sh'</script>
      </else>
      </if>
<parallel>
    <block name="'Block DS Process Active'">
opends/tests/functional-tests/testcases/core/core_entry_cache.xml
@@ -34,36 +34,6 @@
      <sequence>
      <script>
          STAXLogMessage = 1
          SRCFILE = '%s/%s' % (ZIPPATH,ZIPNAME)
          DSTFILE = '%s/%s' % (TMPDIR,ZIPNAME)
          OPENDS_BINPATH = '%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME)
      </script>
      <!--- Import all the shared libraries
            may be we should have a loadlibs.xml to
            load all the libs -->
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/utils.xml' % (TESTS_FUNCTIONS_DIR)"/>
      <!--- Set OS related variables on remote host -->
      <message>
          'Set OS related variables on remote host.'
      </message>
      <call function="'setOSvariables'">
          { 'hostname' : STAF_REMOTE_HOSTNAME }
      </call>
      <script>OSName= STAXResult</script>
      <if expr="OSName == 'Win2003'">
        <script>fileExt= 'bat'</script>
      <else>
        <script>fileExt= 'sh'</script>
      </else>
      </if>
        <!--- Check that DS started -->
        <call function="'isAlive'">
          { 'noOfLoops'        : 5 ,
opends/tests/functional-tests/testcases/core/core_search_sizelimit.xml
@@ -34,36 +34,6 @@
      <sequence>
      <script>
          STAXLogMessage = 1
          SRCFILE = '%s/%s' % (ZIPPATH,ZIPNAME)
          DSTFILE = '%s/%s' % (TMPDIR,ZIPNAME)
          OPENDS_BINPATH = '%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME)
      </script>
      <!--- Import all the shared libraries
            may be we should have a loadlibs.xml to
            load all the libs -->
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/utils.xml' % (TESTS_FUNCTIONS_DIR)"/>
      <!--- Set OS related variables on remote host -->
      <message>
          'Set OS related variables on remote host.'
      </message>
      <call function="'setOSvariables'">
          { 'hostname' : STAF_REMOTE_HOSTNAME }
      </call>
      <script>OSName= STAXResult</script>
      <if expr="OSName == 'Win2003'">
        <script>fileExt= 'bat'</script>
      <else>
        <script>fileExt= 'sh'</script>
      </else>
      </if>
        <!--- Check that DS started -->
        <call function="'isAlive'">
          { 'noOfLoops'        : 5 ,
opends/tests/functional-tests/testcases/core/core_search_timelimit.xml
@@ -34,36 +34,6 @@
      <sequence>
      <script>
          STAXLogMessage = 1
          SRCFILE = '%s/%s' % (ZIPPATH,ZIPNAME)
          DSTFILE = '%s/%s' % (TMPDIR,ZIPNAME)
          OPENDS_BINPATH = '%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME)
      </script>
      <!--- Import all the shared libraries
            may be we should have a loadlibs.xml to
            load all the libs -->
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/utils.xml' % (TESTS_FUNCTIONS_DIR)"/>
      <!--- Set OS related variables on remote host -->
      <message>
          'Set OS related variables on remote host.'
      </message>
      <call function="'setOSvariables'">
          { 'hostname' : STAF_REMOTE_HOSTNAME }
      </call>
      <script>OSName= STAXResult</script>
      <if expr="OSName == 'Win2003'">
        <script>fileExt= 'bat'</script>
      <else>
        <script>fileExt= 'sh'</script>
      </else>
      </if>
        <!--- Check that DS started -->
        <call function="'isAlive'">
          { 'noOfLoops'        : 5 ,
opends/tests/functional-tests/testcases/core/core_setup.xml
@@ -34,36 +34,6 @@
      <sequence>
      <script>
          STAXLogMessage = 1
          SRCFILE = '%s/%s' % (ZIPPATH,ZIPNAME)
          DSTFILE = '%s/%s' % (TMPDIR,ZIPNAME)
          OPENDS_BINPATH = '%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME)
      </script>
      <!--- Import all the shared libraries
            may be we should have a loadlibs.xml to
            load all the libs -->
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/utils.xml' % (TESTS_FUNCTIONS_DIR)"/>
      <!--- Set OS related variables on remote host -->
      <message>
          'Set OS related variables on remote host.'
      </message>
      <call function="'setOSvariables'">
          { 'hostname' : STAF_REMOTE_HOSTNAME }
      </call>
      <script>OSName= STAXResult</script>
      <if expr="OSName == 'Win2003'">
        <script>fileExt= 'bat'</script>
      <else>
        <script>fileExt= 'sh'</script>
      </else>
      </if>
        <!--- Check that DS started -->
        <call function="'isAlive'">
          { 'noOfLoops'        : 5 ,
opends/tests/functional-tests/testcases/core/core_tf_filters.xml
@@ -34,36 +34,6 @@
      <sequence>
      <script>
          STAXLogMessage = 1
          SRCFILE = '%s/%s' % (ZIPPATH,ZIPNAME)
          DSTFILE = '%s/%s' % (TMPDIR,ZIPNAME)
          OPENDS_BINPATH = '%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME)
      </script>
      <!--- Import all the shared libraries
            may be we should have a loadlibs.xml to
            load all the libs -->
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/utils.xml' % (TESTS_FUNCTIONS_DIR)"/>
      <!--- Set OS related variables on remote host -->
      <message>
          'Set OS related variables on remote host.'
      </message>
      <call function="'setOSvariables'">
          { 'hostname' : STAF_REMOTE_HOSTNAME }
      </call>
      <script>OSName= STAXResult</script>
      <if expr="OSName == 'Win2003'">
        <script>fileExt= 'bat'</script>
      <else>
        <script>fileExt= 'sh'</script>
      </else>
      </if>
        <!--- Check that DS started -->
        <call function="'isAlive'">
          { 'noOfLoops'        : 5 ,
opends/tests/functional-tests/testcases/core/core_version_report.xml
@@ -34,36 +34,6 @@
      <sequence>
      <script>
          STAXLogMessage = 1
          SRCFILE = '%s/%s' % (ZIPPATH,ZIPNAME)
          DSTFILE = '%s/%s' % (TMPDIR,ZIPNAME)
          OPENDS_BINPATH = '%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME)
      </script>
      <!--- Import all the shared libraries
            may be we should have a loadlibs.xml to
            load all the libs -->
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/utils.xml' % (TESTS_FUNCTIONS_DIR)"/>
      <!--- Set OS related variables on remote host -->
      <message>
          'Set OS related variables on remote host.'
      </message>
      <call function="'setOSvariables'">
          { 'hostname' : STAF_REMOTE_HOSTNAME }
      </call>
      <script>OSName= STAXResult</script>
      <if expr="OSName == 'Win2003'">
        <script>fileExt= 'bat'</script>
      <else>
        <script>fileExt= 'sh'</script>
      </else>
      </if>
        <!--- Check that DS started -->
        <call function="'isAlive'">
          { 'noOfLoops'        : 5 ,
opends/tests/functional-tests/testcases/quickstart/quickstart.xml
@@ -34,45 +34,6 @@
      <sequence>
      <script>
          STAXLogMessage = 1
          SRCFILE = '%s/%s' % (ZIPPATH,ZIPNAME)
          DSTFILE = '%s/%s' % (TMPDIR,ZIPNAME)
          OPENDS_BINPATH = '%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME)
      </script>
      <!--- Import all the shared libraries
            may be we should have a loadlibs.xml to
            load all the libs -->
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/utils.xml' % (TESTS_FUNCTIONS_DIR)"/>
      <!--- Set OS related variables on remote host -->
      <message>
          'Set OS related variables on remote host.'
      </message>
      <call function="'setOSvariables'">
          { 'hostname' : STAF_REMOTE_HOSTNAME }
      </call>
      <script>OSName= STAXResult</script>
      <if expr="OSName == 'Win2003'">
        <script>fileExt= 'bat'</script>
      <else>
        <script>fileExt= 'sh'</script>
      </else>
      </if>
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/stafcmd.xml' % (TESTS_FUNCTIONS_DIR)"/>
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/dsadm.xml' % (TESTS_FUNCTIONS_DIR)"/>
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/ldap.xml' % (TESTS_FUNCTIONS_DIR)"/>
<parallel>
    <block name="'Block DS Process Active'">
opends/tests/functional-tests/testcases/runFuncTests.xml
@@ -65,9 +65,9 @@
      </script>
      <if expr="OSName == 'Win2003'">
        <script>fileExt= 'bat'</script>
        <script>fileExt= '.bat'</script>
      <else>
        <script>fileExt= 'sh'</script>
        <script>fileExt= ''</script>
      </else>
      </if>
opends/tests/functional-tests/testcases/schema/schema.xml
@@ -34,36 +34,6 @@
      <sequence>
      <script>
          STAXLogMessage = 1
          SRCFILE = '%s/%s' % (ZIPPATH,ZIPNAME)
          DSTFILE = '%s/%s' % (TMPDIR,ZIPNAME)
          OPENDS_BINPATH = '%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME)
      </script>
      <!--- Import all the shared libraries
            may be we should have a loadlibs.xml to
            load all the libs -->
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/utils.xml' % (TESTS_FUNCTIONS_DIR)"/>
      <!--- Set OS related variables on remote host -->
      <message>
          'Set OS related variables on remote host.'
      </message>
      <call function="'setOSvariables'">
          { 'hostname' : STAF_REMOTE_HOSTNAME }
      </call>
      <script>OSName= STAXResult</script>
      <if expr="OSName == 'Win2003'">
        <script>fileExt= 'bat'</script>
      <else>
        <script>fileExt= 'sh'</script>
      </else>
      </if>
<parallel>
    <block name="'Block DS Process Active'">
opends/tests/functional-tests/testcases/schema/schema_rfc_tests.xml
@@ -34,36 +34,6 @@
      <sequence>
      <script>
          STAXLogMessage = 1
          SRCFILE = '%s/%s' % (ZIPPATH,ZIPNAME)
          DSTFILE = '%s/%s' % (TMPDIR,ZIPNAME)
          OPENDS_BINPATH = '%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME)
      </script>
      <!--- Import all the shared libraries
            may be we should have a loadlibs.xml to
            load all the libs -->
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/utils.xml' % (TESTS_FUNCTIONS_DIR)"/>
      <!--- Set OS related variables on remote host -->
      <message>
          'Set OS related variables on remote host.'
      </message>
      <call function="'setOSvariables'">
          { 'hostname' : STAF_REMOTE_HOSTNAME }
      </call>
      <script>OSName= STAXResult</script>
      <if expr="OSName == 'Win2003'">
        <script>fileExt= 'bat'</script>
      <else>
        <script>fileExt= 'sh'</script>
      </else>
      </if>
        <!--- Check that DS started -->
        <call function="'isAlive'">
          { 'noOfLoops'        : 5 ,
opends/tests/functional-tests/testcases/schema/schema_setup.xml
@@ -34,36 +34,6 @@
      <sequence>
      <script>
          STAXLogMessage = 1
          SRCFILE = '%s/%s' % (ZIPPATH,ZIPNAME)
          DSTFILE = '%s/%s' % (TMPDIR,ZIPNAME)
          OPENDS_BINPATH = '%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME)
      </script>
      <!--- Import all the shared libraries
            may be we should have a loadlibs.xml to
            load all the libs -->
      <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
          file="'%s/utils.xml' % (TESTS_FUNCTIONS_DIR)"/>
      <!--- Set OS related variables on remote host -->
      <message>
          'Set OS related variables on remote host.'
      </message>
      <call function="'setOSvariables'">
          { 'hostname' : STAF_REMOTE_HOSTNAME }
      </call>
      <script>OSName= STAXResult</script>
      <if expr="OSName == 'Win2003'">
        <script>fileExt= 'bat'</script>
      <else>
        <script>fileExt= 'sh'</script>
      </else>
      </if>
        <!--- Check that DS started -->
        <call function="'isAlive'">
          { 'noOfLoops'        : 5 ,