Results for ysh-introspect.test.sh

statusyshysh_ALT
pass 1111
FAIL 22
total1313
caseyshysh_ALTdescription
0pass pass getFrame()
1FAIL FAIL bindFrame()
detailsdetails
2pass pass vm.getDebugStack()
3pass pass DebugFrame.toString() running file
4pass pass DebugFrame.toString() running stdin and -c
5pass pass DebugFrame.toString() running eval
6pass pass DebugFrame.toString() running eval methods
7pass pass DebugFrame.toString() running YSH functions
8pass pass DebugFrame.toString() with 'use' builtin
9pass pass FUNCNAME BASH_LINENO BASH_SOURCE not available with YSH functions
10pass pass DebugFrame.toString() with trap ERR - external failure
11FAIL FAIL trap ERR - proc subshell failure
detailsdetails
12pass pass trap ERR - proc non-zero return status
22 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped
2 failed under osh

Details on runs that didn't PASS

ysh1 bindFrame()

[ysh stdout] Expected '', got '<Command>\n(Null) null\n'

stdout:
<Command>
(Null)   null
stderr:
ysh_ALT1 bindFrame()

[ysh_ALT stdout] Expected '', got '<Command>\n(Null) null\n'

stdout:
<Command>
(Null)   null
stderr:
ysh11 trap ERR - proc subshell failure

[ysh stdout] Expected '[ stdin ]:14\n f\n ^\n[ stdin ]:11\n return 42\n ^~~~~~\n' Got '[ stdin ]:14\n f\n ^\n[ stdin ]:7\n g\n ^\n[ stdin ]:7\n g\n ^\n'

stdout:
[ stdin ]:14
    f
    ^
[ stdin ]:7
      g
      ^
[ stdin ]:7
      g
      ^
stderr:
    ( exit 42 )
    ^
[ stdin ]:11: errexit PID 6129: command.Subshell failed with status 42
ysh_ALT11 trap ERR - proc subshell failure

[ysh_ALT stdout] Expected '[ stdin ]:14\n f\n ^\n[ stdin ]:11\n return 42\n ^~~~~~\n' Got '[ stdin ]:14\n f\n ^\n[ stdin ]:7\n g\n ^\n[ stdin ]:7\n g\n ^\n'

stdout:
[ stdin ]:14
    f
    ^
[ stdin ]:7
      g
      ^
[ stdin ]:7
      g
      ^
stderr:
    ( exit 42 )
    ^
[ stdin ]:11: errexit PID 6133: command.Subshell failed with status 42