spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 18 | 9 | 6 | |
FAIL | 0 | 9 | 12 | |
total | 18 | 18 | 18 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | pass | pass | builtin |
1 | pass | FAIL | FAIL | command sub |
details | details | |||
2 | pass | pass | FAIL | command sub with builtin |
details | ||||
3 | pass | FAIL | FAIL | pipeline |
details | details | |||
4 | pass | FAIL | FAIL | pipeline with builtin |
details | details | |||
5 | pass | pass | pass | and-or chains |
6 | pass | FAIL | FAIL | here doc with var |
details | details | |||
7 | pass | FAIL | FAIL | here doc without var |
details | details | |||
8 | pass | pass | FAIL | here doc with builtin |
details | ||||
9 | pass | FAIL | FAIL | Redirect external command |
details | details | |||
10 | pass | pass | FAIL | Redirect with builtin |
details | ||||
11 | pass | FAIL | FAIL | Here doc with redirect |
details | details | |||
12 | pass | FAIL | FAIL | "$@" "$*" |
details | details | |||
13 | pass | FAIL | FAIL | $@ $* |
details | details | |||
14 | pass | pass | pass | failed command |
15 | pass | pass | pass | subshell |
16 | pass | pass | pass | for loop |
17 | pass | pass | pass | vars |
33 passed, 0 OK, 0 not implemented, 0 BUG, 21 failed, 0 timeouts, 0 cases skipped
osh_.py | 1 command sub [osh_.py stdout] Expected '3\n', got '\n' stdout: stderr: echo $(expr 3) ^~~~ [ stdin ]:1: 'expr' not found |
osh_.cc | 1 command sub [osh_.cc stdout] Expected '3\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 2 command sub with builtin [osh_.cc stdout] Expected 'hi\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.py | 3 pipeline [osh_.py stdout] Expected '1\n', got '' [osh_.py status] Expected 0, got 127 stdout: stderr: hostname | wc -l ^~ [ stdin ]:1: 'wc' not found |
osh_.cc | 3 pipeline [osh_.cc stdout] Expected '1\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.py | 4 pipeline with builtin [osh_.py stdout] Expected '1\n', got '' [osh_.py status] Expected 0, got 127 stdout: stderr: echo hi | wc -l ^~ [ stdin ]:1: 'wc' not found |
osh_.cc | 4 pipeline with builtin [osh_.cc stdout] Expected '1\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.py | 6 here doc with var [osh_.py stdout] Expected u'"two\none\n', got '' [osh_.py status] Expected 0, got 127 stdout: stderr: tac <<EOF ^~~ [ stdin ]:2: 'tac' not found |
osh_.cc | 6 here doc with var [osh_.cc stdout] Expected u'"two\none\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.py | 7 here doc without var [osh_.py stdout] Expected u'"two\n$v\n', got '' [osh_.py status] Expected 0, got 127 stdout: stderr: tac <<"EOF" ^~~ [ stdin ]:1: 'tac' not found |
osh_.cc | 7 here doc without var [osh_.cc stdout] Expected u'"two\n$v\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 8 here doc with builtin [osh_.cc stdout] Expected 'var = value\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.py | 9 Redirect external command [osh_.py stdout] Expected '3\n', got '' [osh_.py stderr] Expected u'', got " expr 3 > $TMP/expr3.txt\n ^\n[ stdin ]:1: Can't open '/expr3.txt': Permission denied\ncat: /expr3.txt: No such file or directory\n" [osh_.py status] Expected 0, got 1 stdout: stderr: expr 3 > $TMP/expr3.txt ^ [ stdin ]:1: Can't open '/expr3.txt': Permission denied cat: /expr3.txt: No such file or directory |
osh_.cc | 9 Redirect external command [osh_.cc stdout] Expected '3\n', got '' [osh_.cc stderr] Expected u'', got "osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed.\n" [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed. |
osh_.cc | 10 Redirect with builtin [osh_.cc stdout] Expected 'hi\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed. |
osh_.py | 11 Here doc with redirect [osh_.py stdout] Expected '8 _tmp/smoke1.txt\n', got '' [osh_.py status] Expected 0, got 127 stdout: stderr: wc -c _tmp/smoke1.txt ^~ [ stdin ]:5: 'wc' not found |
osh_.cc | 11 Here doc with redirect [osh_.cc stdout] Expected '8 _tmp/smoke1.txt\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.py | 12 "$@" "$*" [osh_.py stdout] Expected "['a b', 'c d', 'a b c d']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "$@" "$*" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 12 "$@" "$*" [osh_.cc stdout] Expected "['a b', 'c d', 'a b c d']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "$@" "$*" ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 13 $@ $* [osh_.py stdout] Expected "['a', 'b', 'c', 'd', 'a', 'b', 'c', 'd']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $@ $* ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 13 $@ $* [osh_.cc stdout] Expected "['a', 'b', 'c', 'd', 'a', 'b', 'c', 'd']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py $@ $* ^~~~~~~ [ stdin ]:2: 'argv.py' not found |