ysh-stdlib-2 () { run-file ysh-stdlib-2 "$@" } 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
status | ysh | ysh_ALT | |
pass | 11 | 9 | |
FAIL | 0 | 2 | |
total | 11 | 11 | |
case | ysh | ysh_ALT | description |
0 | pass | pass | join() |
1 | pass | pass | abs |
2 | pass | pass | any() and all() |
3 | pass | pass | sum() |
4 | pass | pass | @[split(x)] respects IFS |
5 | pass | pass | @[maybe(x)] |
6 | pass | pass | maybe() on invalid type is fatal error |
7 | pass | pass | split() on invalid type is fatal error |
8 | pass | pass | @[glob(x)] |
9 | pass | FAIL | smoke test for two.sh |
details | |||
10 | pass | FAIL | smoke test for stream.ysh and table.ysh |
details |
20 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
ysh_ALT | 9 smoke test for two.sh [ysh_ALT stdout] Expected 'status=1\n', got '' [ysh_ALT status] Expected 0, got 2 stdout: stderr: source --builtin osh/two.sh ^~~ [ stdin ]:1: source --builtin 'stdlib/osh/two.sh' failed: No such builtin file source --builtin osh/two.sh ^~~~~~ [ stdin ]:1: errexit PID 36125: command.Simple failed with status 2 |
ysh_ALT | 10 smoke test for stream.ysh and table.ysh [ysh_ALT status] Expected 0, got 2 stdout: stderr: source --builtin osh/byo-server.sh ^~~ stdlib/stream.ysh:9: source --builtin 'stdlib/osh/byo-server.sh' failed: No such builtin file source --builtin osh/byo-server.sh ^~~~~~ stdlib/stream.ysh:9: errexit PID 36129: command.Simple failed with status 2 source --builtin stream.ysh ^~~~~~ [ stdin ]:3: errexit PID 36129: command.Simple failed with status 2 |