49 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| osh-cpp | 1 case in subshell [osh-cpp stdout] Expected 'letter\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: echo $(foo=a; case $foo in [0-9]) echo number;; [a-z]) echo letter ;; esac)
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 2 Command sub word part [osh-cpp stdout] Expected 'FOObarFOO\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: foo=FOO; echo $(echo $foo)bar$(echo $foo)
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 6 Making command out of command sub should work [osh-cpp stdout] Expected 'split builtin\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: $(echo ec)$(echo ho) split builtin
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 8 Command sub with here doc [osh-cpp stdout] Expected 'two one\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: ) ^ [ stdin ]:5: Unexpected EOF while parsing command |
| osh-cpp | 10 Command Sub word split [osh-cpp stdout] Expected "['hi', 'there', 'hi there']\n" Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: argv.py $(echo 'hi there') "$(echo 'hi there')"
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 11 Command Sub trailing newline removed [osh-cpp stdout] Expected "['ab\\ncd']\n" Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: s=$(python2 -c 'print("ab\ncd\n")')
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 12 Command Sub trailing whitespace not removed [osh-cpp stdout] Expected "['ab\\ncd\\n ']\n" Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: s=$(python2 -c 'print("ab\ncd\n ")')
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 13 Command Sub and exit code [osh-cpp stdout] Expected 'x\n0\n33\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: echo $(echo x; exit 33)
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 14 Command Sub in local sets exit code [osh-cpp stdout] Expected 'x\n0\n0\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: echo $(echo x; exit 33)
^
[ stdin ]:2: Invalid word while parsing command list
|
| osh-cpp | 15 Double Quotes in Command Sub in Double Quotes [osh-cpp stdout] Expected 'x hi\nx hi\nx "hi"\nx hi\nx hi\nx hi\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: echo "x $(echo hi)"
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 16 Escaped quote in [[ ]] [osh-cpp stdout] Expected '123 456\n"\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: echo "123 `[[ $(echo \\" > $file) ]]` 456";
^
[ backticks in [ stdin ] ]:2: Invalid word while parsing command list
|