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 44106: 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 44110: 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 44114: 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 44118: 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 44122: 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 44126: 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 44130: 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 44134: 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 44148: 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 44149: 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 44150: command.Simple failed with status 1