Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-407

Wrong Unit test (on Mac) for status return from "command not found"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4-incubating
    • 1.4-incubating
    • Development Setup
    • None

    Description

      Running the testTooLongCommandName() test on Mac fails.

      The reson is that Mac (bash gnu) returns code 127 (command not found).

      The "generated" command is this:
      /bin/bash -c xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

      and since the xxxxxxxxx.... is not available - the test fails.

      Looks like on Windows this is return code 1 (I was expecting that on Ubuntu this fails as well - perhaps has not been tested?)

      Attachments

        1. NPANDAY-407_NEW.diff
          1 kB
          Matthias Wessendorf
        2. NPANDAY-407.diff
          2 kB
          Matthias Wessendorf

        Activity

          People

            Unassigned Unassigned
            matzew Matthias Wessendorf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: