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 "$@" } ysh-stdlib-2: spec test case results

Results for ysh-stdlib-2.test.sh

statusyshysh_ALT
pass 119
FAIL 02
total1111
caseyshysh_ALTdescription
0pass pass join()
1pass pass abs
2pass pass any() and all()
3pass pass sum()
4pass pass @[split(x)] respects IFS
5pass pass @[maybe(x)]
6pass pass maybe() on invalid type is fatal error
7pass pass split() on invalid type is fatal error
8pass pass @[glob(x)]
9pass FAIL smoke test for two.sh
details
10pass 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

Details on runs that didn't PASS

ysh_ALT9 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_ALT10 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