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

andrug
11.08.2008 6d6a8d1075e821d1d66debfb0ead9146f2d873e4
fix StartDsWithScript and a call
2 files modified
9 ■■■■■ changed files
opends/tests/system-tests/clients/restartDs/restartDs.xml 1 ●●●● patch | view | raw | blame | history
opends/tests/system-tests/phases/shared/functions/opendsadm.xml 8 ●●●●● patch | view | raw | blame | history
opends/tests/system-tests/clients/restartDs/restartDs.xml
@@ -104,6 +104,7 @@
          <call function="'StartDsWithScript'">
            { 'location'  : serverInstance.getHost(),
              'dsPath'    : serverInstance.getInstallDir(),
              'instance'  : serverInstance,
              'fileFd'    : fileFd
            }
          </call>
opends/tests/system-tests/phases/shared/functions/opendsadm.xml
@@ -285,8 +285,8 @@
        STAFCmdParams=' '.join(STAFCmdParamsList)
      </script>
      
      <!-- define environment variables -->
      <script>
        # define environment variables
        env = []
        env.append('PATH=/bin:/usr/bin:%s' % dsBinPath)
        env.append('JAVA_HOME=%s' % JAVA_HOME)
@@ -298,10 +298,12 @@
          tuning = instance.getTuning()
          if tuning.getJavaArgs() != NOT_DEFINED:
            env.append('OPENDS_JAVA_ARGS=%s' % tuning.getJavaArgs())
          name = 'StartDs %s:%s' % (instance.getName(),instance.getLDAPPort())
        else:
          name = 'StartDs'
      </script>
      <call function="'runCommand'">
        { 'name'      : 'StartDs %s:%s' % \
                        (instance.getName(),instance.getLDAPPort()),
        { 'name'      : name,
          'location'  : location,
          'command'   : STAFCmd,
          'arguments' : STAFCmdParams,