Results for ysh-stdlib.test.sh

statusyshysh_ALT
pass 101
FAIL 09
total1010
caseyshysh_ALTdescription
0pass pass identity
1pass FAIL max
details
2pass FAIL min
details
3pass FAIL abs
details
4pass FAIL any
details
5pass FAIL all
details
6pass FAIL sum
details
7pass FAIL repeat() string
details
8pass FAIL repeat() list
details
9pass FAIL repeat() error
details
11 passed, 0 OK, 0 not implemented, 0 BUG, 9 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

ysh_ALT1 max

[ysh_ALT stdout] Expected '2\n3\nstatus=3\nstatus=0\nstatus=3\nstatus=3\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 43976: command.Simple failed with status 1
ysh_ALT2 min

[ysh_ALT stdout] Expected '2\n1\nstatus=3\nstatus=0\nstatus=3\nstatus=3\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 43980: command.Simple failed with status 1
ysh_ALT3 abs

[ysh_ALT stdout] Expected '1\n0\n1\n42\n42\nstatus=0\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 43984: command.Simple failed with status 1
ysh_ALT4 any

[ysh_ALT stdout] Expected 'false\ntrue\nfalse\ntrue\ntrue\nfalse\ntrue\nfalse\ntrue\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 43988: command.Simple failed with status 1
ysh_ALT5 all

[ysh_ALT stdout] Expected 'true\ntrue\nfalse\ntrue\nfalse\nfalse\nfalse\nfalse\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 43992: command.Simple failed with status 1
ysh_ALT6 sum

[ysh_ALT stdout] Expected '0\n0\n6\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 43996: command.Simple failed with status 1
ysh_ALT7 repeat() string

[ysh_ALT stdout] Expected 'three=foofoofoo\nzero=\nnegative=\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 44000: command.Simple failed with status 1
ysh_ALT8 repeat() list

[ysh_ALT stdout] Expected 'three foo bar foo bar foo bar\nzero\nnegative\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 44004: command.Simple failed with status 1
ysh_ALT9 repeat() error

[ysh_ALT stdout] Expected 'code=10\ncode=10\ncode=10\n', got 'code=1\ncode=1\ncode=1\n'

stdout:
code=1
code=1
code=1
stderr:
    source $LIB_YSH/list.ysh
           ^~~~~~~~
[ -c flag ]:2: 'source' failed: No builtin file 'stdlib/ysh/list.ysh'
    source $LIB_YSH/list.ysh
    ^~~~~~
[ -c flag ]:2: errexit PID 44018: command.Simple failed with status 1
    source $LIB_YSH/list.ysh
           ^~~~~~~~
[ -c flag ]:2: 'source' failed: No builtin file 'stdlib/ysh/list.ysh'
    source $LIB_YSH/list.ysh
    ^~~~~~
[ -c flag ]:2: errexit PID 44019: command.Simple failed with status 1
    source $LIB_YSH/list.ysh
           ^~~~~~~~
[ -c flag ]:2: 'source' failed: No builtin file 'stdlib/ysh/list.ysh'
    source $LIB_YSH/list.ysh
    ^~~~~~
[ -c flag ]:2: errexit PID 44020: command.Simple failed with status 1