Closed blambeau closed 12 years ago
This is probably related to #6
Ooops sorry. I thought I've read all existing issues before submitting this one, something has failed in my process. I obvisouly close this one. Thanks
Does it work if you install bash instead of dash?
almost:
# Running tests:
.yes: standard output: Broken pipe
yes: write error
...............................................................................................hiya
F........................................
Finished tests in 0.969090s, 141.3697 tests/s, 463.3212 assertions/s.
1) Failure:
test_spawn_close_invalid_fd_raises_exception(PosixSpawnTest) [/home/blambeau/work/devel/posix-spawn/test/test_spawn.rb:119]:
<127> expected but was
<0>.
137 tests, 449 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [/home/blambeau/.rvm/rubies/ruby-1.9.3-p0/b...]
Hi,
All tests relying on
exec
seem failing under standard *nix config (cfr. http://travis-ci.org/#!/blambeau/posix-spawn) Typical example:which results in an exit status of 2 (misuse of shell builtins), not 1. I must confess that I'm not sure to understand what the test above is supposed to test (that out cannot be redirected? or err? or both?).
Any hint on this?