Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-2251

CLU: list-backends with invalid base dn does not write in stderr

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 2.6.3
    • Fix Version/s: 3.0.0
    • Component/s: tools
    • Labels:

      Description

      With OpenDJ 3.0.0 revision 12708:

      When testing list-backends command with an invalid base dn, return code is the expected one (1) and yet, the error message is printed out in stdout instead of stderr:

      20150826 10:58:43.922 - INFO - Run command:
      20150826 10:58:43.922 - INFO - /local/GIT/pyforge/results/20150826-105819/clu_group/DJ1/opendj/bin/list-backends -b dc=mybasedn
      20150826 10:58:45.704 - INFO - SUCCESS:
      -- rc --
      returned 1, expected 1
      20150826 10:58:45.705 - FAIL - Substring "The provided DN 'dc=mybasedn' is not a base DN for any backend configured in the Directory Server" not found in stderr ""
      

        Attachments

          Activity

            People

            • Assignee:
              peter.major Peter Major [X] (Inactive)
              Reporter:
              cforel carole forel
              Dev Assignee:
              Peter Major [X] (Inactive)
              QA Assignee:
              carole forel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: