ysh-regex () { run-file ysh-regex "$@" } run-file () { local spec_name=$1; shift; sh-spec spec/$spec_name.test.sh --compare-shells --oils-bin-dir $PWD/bin "$@" }
spec test index / oilshell.org
66 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 16 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 | 16 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) |