spec test index / oilshell.org
38 passed, 0 OK, 3 not implemented, 0 BUG, 22 failed, 0 timeouts, 0 cases skipped
osh_.py | 0 Brace group in pipeline [osh_.py stdout] Expected u'two\none\n', got '' [osh_.py status] Expected 0, got 127 stdout: stderr: { echo one; echo two; } | tac ^~~ [ stdin ]:1: 'tac' not found |
osh_.cc | 0 Brace group in pipeline [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 | 1 For loop starts pipeline [osh_.py stdout] Expected u'two\none\n', got '' [osh_.py status] Expected 0, got 127 stdout: stderr: done | tac ^~~ [ stdin ]:3: 'tac' not found |
osh_.cc | 1 For loop starts pipeline [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 | 2 While Loop ends pipeline [osh_.py stdout] Expected u'.1\n.2\n.3\n', got '' stdout: stderr: seq 3 | while read i ^~~ [ stdin ]:1: 'seq' not found |
osh_.cc | 2 While Loop ends pipeline [osh_.cc stdout] Expected u'.1\n.2\n.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_.py | 3 Redirect in Pipeline [osh_.py stdout] Expected '0\n', got '' [osh_.py status] Expected 0, got 127 stdout: stderr: echo hi 1>&2 | wc -l ^~ [ stdin ]:1: 'wc' not found hi |
osh_.cc | 3 Redirect in Pipeline [osh_.cc stdout] Expected '0\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 comments [osh_.py stdout] Expected 'ABCD\n', got '' [osh_.py status] Expected 0, got 127 stdout: stderr: tr a-z A-Z # transform ^~ [ stdin ]:2: 'tr' not found |
osh_.cc | 4 Pipeline comments [osh_.cc stdout] Expected 'ABCD\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 | 5 Exit code is last status [osh_.cc status] Expected 1, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 6 PIPESTATUS [osh_.cc stdout] Expected '1 2 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 | 7 PIPESTATUS with shopt -s lastpipe [osh_.cc stdout] Expected '1 2 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 | 8 |& stdout: stderr: stdout_stderr.py |& cat ^~ [ stdin ]:1: fatal: |& isn't supported |
osh_.py | 8 |& stdout: stderr: stdout_stderr.py |& cat ^~ [ stdin ]:1: fatal: |& isn't supported |
osh_.cc | 8 |& stdout: stderr: [??? no location ???] fatal: |& isn't supported |
osh_.py | 10 ! turns zero into 1 [osh_.py stdout] Expected '1\n', got '0\n' stdout: 0stderr: ! $SH -c 'exit 0'; echo $? ^~ [ stdin ]:1: '-c' not found |
osh_.cc | 10 ! turns zero into 1 [osh_.cc stdout] Expected '1\n', got '0\n' stdout: 0stderr: ! $SH -c 'exit 0'; echo $? ^~ [ stdin ]:1: '-c' not found |
osh_.py | 16 Evaluation of argv[0] in pipeline occurs in child [osh_.py stdout] Expected '1\ncmd=\n', got 'cmd=\n' stdout: cmd=stderr: ${cmd=echo} hi | wc -l ^~ [ stdin ]:1: 'wc' not found |
osh_.cc | 16 Evaluation of argv[0] in pipeline occurs in child [osh_.cc stdout] Expected '1\ncmd=\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 | 17 bash/dash/mksh run the last command is run in its own process [osh_.cc stdout] Expected 'line=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_.cc | 18 shopt -s lastpipe (always on in OSH) [osh_.cc stdout] Expected 'line=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 | 19 shopt -s lastpipe (always on in OSH) [osh_.py stdout] Expected 'i=3\n', got 'i=0\n' stdout: i=0stderr: seq 3 | while read line; do ^~~ [ stdin ]:3: 'seq' not found |
osh_.cc | 19 shopt -s lastpipe (always on in OSH) [osh_.cc stdout] Expected 'i=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 | 20 SIGPIPE causes pipeline to die (regression for issue #295) [osh_.cc stdout] Expected '141 0\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. |