You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Matthias Weßendorf (JIRA)" <ji...@apache.org> on 2011/04/18 13:42:05 UTC
[jira] [Updated] (NPANDAY-407) Wrong Unit test (on Mac) for status
return from "command not found"
[ https://issues.apache.org/jira/browse/NPANDAY-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf updated NPANDAY-407:
---------------------------------------
Attachment: NPANDAY-407.diff
a correction for the test...
> 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