spec test index / oilshell.org
59 passed, 2 OK, 0 not implemented, 0 BUG, 14 failed, 0 timeouts, 0 cases skipped
osh_.py | 0 sh -i [osh_.py stdout] Expected 'match=0\n', got 'match=1\n' stdout: match=1stderr: |
osh_.cc | 0 sh -i [osh_.cc stdout] Expected 'match=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 3 special case for $ [osh_.cc stdout] Expected '$\n$\n$\n\\$\n\\$\n', got '$\n$\n$\n$\n\\$\n' stdout: $ $ $ $ \$stderr: dumb_alloc: gNumNew = 2520 gNumDelete = 240 gMemPos = 81968 gNumMalloc = 240 gNumFree = 0 gMemPos2 = 12416 |
osh_.cc | 13 \u0001 unicode literals not supported [osh_.cc stdout] Expected 'status=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 15 hostname [osh_.cc stdout] Expected 'status=0\nstatus=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 16 username [osh_.cc stdout] Expected 'status=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 18 \W is basename of working dir [osh_.cc stdout] Expected 'status=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 19 \A for 24 hour time [osh_.cc stdout] Expected 'matched=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 20 \D{%H:%M} for strftime [osh_.cc stdout] Expected 'matched=0\nmatched=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 21 \D{} for locale specific strftime [osh_.cc stdout] Expected 'matched=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 22 \s and \v for shell and version [osh_.cc stdout] Expected 'match=0\nmatch=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh | 23 @P with array stdout: status=1 status=1 status=1stderr: echo ${@@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray echo ${*@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray a=(x y); echo ${a@P} ^~ [ -c flag ]:1: fatal: Array 'a' can't be referred to as a scalar (without @ or *) |
osh_.py | 23 @P with array stdout: status=1 status=1 status=1stderr: echo ${@@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray echo ${*@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray a=(x y); echo ${a@P} ^~ [ -c flag ]:1: fatal: Array 'a' can't be referred to as a scalar (without @ or *) |
osh_.cc | 23 @P with array [osh_.cc stdout] Expected 'status=1\nstatus=1\nstatus=1\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed. |
osh_.py | 24 default PS1 [osh_.py stdout] Expected '_\\s-\\v\\$ _\n', got '' [osh_.py status] Expected 0, got 1 stdout: stderr: osh fatal error: |
osh_.cc | 24 default PS1 [osh_.cc stdout] Expected '_\\s-\\v\\$ _\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed. |