spec test index / oilshell.org
61 passed, 3 OK, 0 not implemented, 0 BUG, 11 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 'match=1\n' stdout: match=1stderr: |
osh_.cc | 3 special case for $ [osh_.cc stdout] Expected '$\n$\n$\n\\$\n\\$\n', got '$\n$\n$\n$\n\\$\n' stdout: $ $ $ $ \$stderr: |
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.stripped: cpp/core_pyos.h:35: Str* pyos::GetUserName(int): Assertion `0' failed. timeout: the monitored command dumped core |
osh_.cc | 16 username [osh_.cc stdout] Expected 'status=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.stripped: cpp/core_pyos.h:35: Str* pyos::GetUserName(int): Assertion `0' failed. timeout: the monitored command dumped core |
osh_.cc | 19 \A for 24 hour time [osh_.cc stdout] Expected 'matched=0\n', got 'matched=1\n' stdout: matched=1stderr: osh_eval.stripped: cpp/time_.h:21: int time_::localtime(int): Assertion `0' failed. |
osh_.cc | 20 \D{%H:%M} for strftime [osh_.cc stdout] Expected 'matched=0\nmatched=0\n', got 'matched=1\nmatched=1\n' stdout: matched=1 matched=1stderr: osh_eval.stripped: cpp/time_.h:21: int time_::localtime(int): Assertion `0' failed. osh_eval.stripped: cpp/time_.h:21: int time_::localtime(int): Assertion `0' failed. |
osh_.cc | 21 \D{} for locale specific strftime [osh_.cc stdout] Expected 'matched=0\n', got 'matched=1\n' stdout: matched=1stderr: osh_eval.stripped: cpp/time_.h:21: int time_::localtime(int): Assertion `0' failed. |
osh_.cc | 22 \s and \v for shell and version [osh_.cc stdout] Expected 'match=0\nmatch=0\n', got 'match=0\nmatch=1\n' stdout: match=0 match=1stderr: |
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 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 | 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 129 stdout: stderr: terminate called after throwing an instance of 'NotImplementedError*' |