spec test index / oilshell.org
82 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 4 failed under osh
osh | 4 _start() and _end() [osh stdout] Expected 'start=3 end=6\nstart=3 end=6\n', got '' [osh status] Expected 0, got 1 stdout: stderr: FATAL: NotImplementedError('_start',) |
osh_ALT | 4 _start() and _end() [osh_ALT stdout] Expected 'start=3 end=6\nstart=3 end=6\n', got '' [osh_ALT status] Expected 0, got 1 stdout: stderr: FATAL: NotImplementedError('_start',) |
osh | 13 Named captures with _match [osh stdout] Expected "['2020', '08']\n", got '' [osh status] Expected 0, got 3 stdout: stderr: argv.py $_match('year') $_match('month') ^~~~~~~ [ stdin ]:6: fatal: Type error in expression: Expected an integer, got 'year' |
osh_ALT | 13 Named captures with _match [osh_ALT stdout] Expected "['2020', '08']\n", got '' [osh_ALT status] Expected 0, got 3 stdout: stderr: argv.py $_match('year') $_match('month') ^~~~~~~ [ stdin ]:6: fatal: Type error in expression: Expected an integer, got 'year' |
osh | 15 Named Capture With ~ Assigns Variable [osh stdout] Expected '([[:digit:]]+)\nyes\nTODO MONTH\n', got '([[:digit:]]+)\nyes\n' [osh status] Expected 0, got 1 stdout: ([[:digit:]]+) yesstderr: = month ^~~~~ [ stdin ]:7: fatal: Undefined variable 'month' |
osh_ALT | 15 Named Capture With ~ Assigns Variable [osh_ALT stdout] Expected '([[:digit:]]+)\nyes\nTODO MONTH\n', got '([[:digit:]]+)\nyes\n' [osh_ALT status] Expected 0, got 1 stdout: ([[:digit:]]+) yesstderr: = month ^~~~~ [ stdin ]:7: fatal: Undefined variable 'month' |
osh | 22 Match non-ASCII byte denoted using $'\xff' (TODO: LANG=C) [osh stdout] Expected ' 5b ff 5d 0a\nyes\nno\n', got '' [osh status] Expected 0, got 1 stdout: stderr: var pat = /[ $'\xff' ]/; ^~ [ stdin ]:2: fatal: Use unquoted char literal for byte 255, which is >= 128 (avoid confusing a set of bytes with a sequence) |
osh_ALT | 22 Match non-ASCII byte denoted using $'\xff' (TODO: LANG=C) [osh_ALT stdout] Expected ' 5b ff 5d 0a\nyes\nno\n', got '' [osh_ALT status] Expected 0, got 1 stdout: stderr: var pat = /[ $'\xff' ]/; ^~ [ stdin ]:2: fatal: Use unquoted char literal for byte 255, which is >= 128 (avoid confusing a set of bytes with a sequence) |