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

andrug
02.33.2008 c6573ef35435c3e69f3abcbb8e46195d85926860
opends/tests/system-tests/phases/shared/functions/utils.xml
@@ -860,12 +860,23 @@
      </else>
      </if>
      
      <script>
        isList = FALSE
        try:
          if len(expectedRC) >= 0:
            isList = TRUE
        except:
          isList = FALSE
        if isList == FALSE:
          expectedRC = [expectedRC]
      </script>
      
      <if expr="expectedRC != 'noCheck'">
        <call function="'checkRC'">
          { 'returncode' : cmdRC,
            'result'     : cmdOutput,
            'expected'   : [expectedRC],
            'expected'   : expectedRC,
            'fileFd'     : fileFd
          }
        </call>