Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2299

Acceptance tests: "G.perl" points to "/bin/perl" when "/bin/perl" is unreadable but "/usr/local/bin/perl" is readable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Test suite
    • Labels:
      None
    • Platform:
      N/A

      Description

      On HP-UX @/bin/perl@ points to @/opt/perl/bin/perl@ which is outside the chroot, thus the file is unreadable.

      The test suite also lists the path @/usr/local/bin/@ to try for executables, but in the case of @perl@ it keeps the unreadable one, since @fileexists("/bin/perl")@ returns true.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10038 jimis (Dimitrios Apostolou)
                Reporter:
                a10038 jimis (Dimitrios Apostolou)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel

                    Time Tracking

                    Estimated:
                    Original Estimate - 3 hours
                    3h
                    Remaining:
                    Not Specified
                    Logged:
                    Time Not Required
                    Not Specified