73 passed, 2 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
| osh-cpp | 19 Redirect to file descriptor that's not open [osh-cpp status] Expected 1 Got 2 stdout: stderr: opened=$(ls /proc/$$/fd)
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 23 &> redirects stdout and stderr [osh-cpp stdout] Expected 'STDOUT\nSTDERR\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: tmp="$(basename $SH)-$$.txt" # unique name for shell and test case
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh | 24 >&word redirects stdout and stderr when word is not a number or - [osh stdout] Expected 'STDOUT\nSTDERR\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: stdout_stderr.py >&$tmp
^~~~
[ stdin ]:5: Invalid descriptor 'osh-23880.txt'. Expected D, -, or D- where D is an integer
grep: osh-23880.txt: No such file or directory
grep: osh-23880.txt: No such file or directory
|
| osh-cpp | 24 >&word redirects stdout and stderr when word is not a number or - [osh-cpp stdout] Expected 'STDOUT\nSTDERR\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: tmp="$(basename $SH)-$$.txt" # unique name for shell and test case
^
[ stdin ]:3: Invalid word while parsing command list
|
| osh-cpp | 27 1>&2- (Bash bug: fail to restore closed fd) [osh-cpp status] Expected 1 Got 2 stdout: stderr: opened=$(ls /proc/$$/fd)
^
[ stdin ]:3: Invalid word while parsing command list
|
| osh | 32 can't mention big file descriptor stdout: hi hi hi 100stderr: |
| osh-cpp | 32 can't mention big file descriptor stdout: hi hi hi 100stderr: |
| osh | 40 xtrace not affected by redirects [osh stderr] Expected "+ printf aaaa\n+ set '+x'\n" Got "+ set '+x'\n" [osh stdout] Expected '' Got '+ printf aaaa\n' stdout: + printf aaaastderr: + set '+x' |
| osh-cpp | 40 xtrace not affected by redirects [osh-cpp stderr] Expected "+ printf aaaa\n+ set '+x'\n" Got "+ set '+x'\n" [osh-cpp stdout] Expected '' Got '+ printf aaaa\n' stdout: + printf aaaastderr: + set '+x' |