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

                 Key: NPANDAY-407
                 URL: https://issues.apache.org/jira/browse/NPANDAY-407
             Project: NPanday
          Issue Type: Bug
          Components: Development Setup
    Affects Versions: 1.3.1-incubating
            Reporter: Matthias Weßendorf
         Attachments: NPANDAY-407.diff

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?)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to