Results for ysh-stdlib-2.test.sh

statusyshysh_ALT
pass 116
FAIL 05
total1111
caseyshysh_ALTdescription
0pass pass join()
1pass FAIL abs
details
2pass FAIL any() and all()
details
3pass FAIL sum()
details
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
17 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

ysh_ALT1 abs

[ysh_ALT stdout] Expected '505\n5\n0\n5\n', got ''
[ysh_ALT status] Expected 0, got 1

stdout:
stderr: 
  source $LIB_YSH/math.ysh
         ^~~~~~~~
[ stdin ]:1: 'source' failed: No builtin file 'stdlib/ysh/math.ysh'
  source $LIB_YSH/math.ysh
  ^~~~~~
[ stdin ]:1: errexit PID 43857: command.Simple failed with status 1
ysh_ALT2 any() and all()

[ysh_ALT stdout] Expected 'true\nfalse\nfalse\n__\ntrue\ntrue\nfalse\n', got ''
[ysh_ALT status] Expected 0, got 1

stdout:
stderr: 
  source $LIB_YSH/list.ysh
         ^~~~~~~~
[ stdin ]:1: 'source' failed: No builtin file 'stdlib/ysh/list.ysh'
  source $LIB_YSH/list.ysh
  ^~~~~~
[ stdin ]:1: errexit PID 43861: command.Simple failed with status 1
ysh_ALT3 sum()

[ysh_ALT stdout] Expected '3\n45\n42\n', got ''
[ysh_ALT status] Expected 0, got 1

stdout:
stderr: 
  source $LIB_YSH/list.ysh
         ^~~~~~~~
[ stdin ]:1: 'source' failed: No builtin file 'stdlib/ysh/list.ysh'
  source $LIB_YSH/list.ysh
  ^~~~~~
[ stdin ]:1: errexit PID 43865: command.Simple failed with status 1
ysh_ALT9 smoke test for two.sh

[ysh_ALT stdout] Expected 'status=1\n', got ''
[ysh_ALT status] Expected 0, got 1

stdout:
stderr: 
  source --builtin osh/two.sh
                   ^~~
[ stdin ]:1: 'source' failed: No builtin file 'stdlib/osh/two.sh'
  source --builtin osh/two.sh
  ^~~~~~
[ stdin ]:1: errexit PID 43898: command.Simple failed with status 1
ysh_ALT10 smoke test for stream.ysh and table.ysh

[ysh_ALT status] Expected 0, got 1

stdout:
stderr: 
  source $LIB_YSH/stream.ysh
         ^~~~~~~~
[ stdin ]:3: 'source' failed: No builtin file 'stdlib/ysh/stream.ysh'
  source $LIB_YSH/stream.ysh
  ^~~~~~
[ stdin ]:3: errexit PID 43902: command.Simple failed with status 1