41 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| osh-cpp | 1 $(< $file) yields the contents of the file [osh-cpp stdout] Expected "['2\\n3']\n" Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: foo=$(< myfile)
^
[ stdin ]:2: Invalid word while parsing command list
|
| osh-cpp | 3 $(< file; end) is not a special case [osh-cpp stdout] Expected 'begin\n---\nend\n---\n\n---\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: foo=$(echo begin; < myfile)
^
[ stdin ]:4: Invalid word while parsing command list
|
| osh-cpp | 7 Redirect in command sub [osh-cpp stdout] Expected '\n' Got '' [osh-cpp stderr] Expected 'foo\n' Got ' FOO=$(echo foo 1>&2)\n ^\n[ stdin ]:1: Invalid word while parsing command list\n' [osh-cpp status] Expected 0 Got 2 stdout: stderr: FOO=$(echo foo 1>&2)
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 9 Redirect in assignment [osh-cpp stdout] Expected 'FILE=\nfoo\nFOO=\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: FOO=$(echo foo 1>&2) 2>$TMP/no-command.txt
^
[ stdin ]:1: Invalid word while parsing command list
|
| osh-cpp | 17 redirect for loop [osh-cpp stdout] Expected '1\n2\n3\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: for i in $(seq 3)
^
[ stdin ]:1: Invalid word while parsing command list
|