Qpid
  1. Qpid
  2. QPID-3573

Make tests more robust if $HOME is not set

    Details

    • Type: Wish Wish
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.12, 0.14
    • Fix Version/s: 0.13
    • Component/s: None
    • Labels:
      None
    • Environment:

      Debian sid sbuild enviroment

      Description

      If qpid is built inside of a minimal build environment, there might be no $HOME set. The compiled in default for placing PID files, etc. is $HOME. Please find the attached patch to allow a fallback to /tmp/qpid in this case.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1h 14m 1 Gordon Sim 02/Nov/11 14:21
        Gordon Sim made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.13 [ 12316854 ]
        Resolution Fixed [ 1 ]
        Hide
        Cajus Pollmeier added a comment -

        "$HOME is not set" is not 100% correct. "Points to non existing directory" would be better...

        Show
        Cajus Pollmeier added a comment - "$HOME is not set" is not 100% correct. "Points to non existing directory" would be better...
        Gordon Sim made changes -
        Assignee Gordon Sim [ gsim ]
        Cajus Pollmeier made changes -
        Field Original Value New Value
        Attachment test-fix-qpid-dirs.patch [ 12501959 ]
        Hide
        Cajus Pollmeier added a comment -

        Workaround for non usable $HOME in tests.

        Show
        Cajus Pollmeier added a comment - Workaround for non usable $HOME in tests.
        Cajus Pollmeier created issue -

          People

          • Assignee:
            Gordon Sim
            Reporter:
            Cajus Pollmeier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development