status | ysh | ysh_ALT | |
pass | 12 | 12 | |
FAIL | 3 | 3 | |
total | 15 | 15 | |
case | ysh | ysh_ALT | description |
0 | pass | pass | join() |
1 | pass | pass | @[split(x)] respects IFS |
2 | pass | pass | @[maybe(x)] |
3 | pass | pass | maybe() on invalid type is fatal error |
4 | pass | pass | split() on invalid type is fatal error |
5 | pass | pass | @[glob(x)] |
6 | pass | pass | shSplit() respects IFS |
7 | pass | pass | getVar() gets global or local vars |
8 | pass | pass | ASCII upper() lower() |
9 | FAIL | FAIL | Unicode upper() lower() |
details | details | ||
10 | pass | pass | getFrame() |
11 | FAIL | FAIL | bindFrame() |
details | details | ||
12 | pass | pass | vm.getDebugStack() |
13 | FAIL | FAIL | formatDebugFrame() |
details | details | ||
14 | pass | pass | formatDebugFrame() with 'use' builtin |
24 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 3 failed under osh
ysh | 9 Unicode upper() lower() [ysh stdout] Expected '\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n', got '\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n\n\xc3\x80\xc3\x88\n\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n\xc3\xa1\xc3\xa9\n' stdout: ÀÈ áé ÀÈ ÀÈ áé áéstderr: |
ysh_ALT | 9 Unicode upper() lower() [ysh_ALT stdout] Expected '\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n', got '\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n\n\xc3\x80\xc3\x88\n\xc3\x80\xc3\x88\n\xc3\xa1\xc3\xa9\n\xc3\xa1\xc3\xa9\n' stdout: ÀÈ áé ÀÈ ÀÈ áé áéstderr: |
ysh | 11 bindFrame() [ysh stdout] Expected '', got '<Command>\n(Null) null\n' stdout: <Command> (Null) nullstderr: |
ysh_ALT | 11 bindFrame() [ysh_ALT stdout] Expected '', got '<Command>\n(Null) null\n' stdout: <Command> (Null) nullstderr: |
ysh | 13 formatDebugFrame() [ysh stdout] Expected 'z\n', got ' #1 /home/uke/oil/spec/testdata/debug-frame-main.ysh:4\n print-stack\n ^~~~~~~~~~~\n\n #1 /home/uke/oil/spec/testdata/debug-frame-main.ysh:7\n my-proc\n ^~~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11\n print-stack\n ^~~~~~~~~~~\n\n #1 [ stdin ]:1\n source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; my-proc\n ^~~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11\n print-stack\n ^~~~~~~~~~~\n\n #1 [ -c flag ]:1\n source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; my-proc\n ^~~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11\n print-stack\n ^~~~~~~~~~~\n\n #1 [ eval arg at line 1 of [ -c flag ] ]:1\n my-proc a b\n ^~~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11\n print-stack\n ^~~~~~~~~~~\n\n #1 [ -c flag ]:1\n source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-eval.ysh\n ^~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-eval.ysh:7\n p3\n ^~\n #3 [ eval arg at line 4 of /home/uke/oil/spec/testdata/debug-frame-eval.ysh ]:1\n my-proc x y\n ^~~~~~~\n #4 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11\n print-stack\n ^~~~~~~~~~~\n\n #1 [ -c flag ]:1\n source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; call-func\n ^~~~~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:15\n var x = myfunc(99)\n ^\n #3 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:25\n return (myfunc2(x+1, 42))\n ^~~~~~\n #4 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:20\n print-stack\n ^~~~~~~~~~~\n142\n\n #1 [ -c flag ]:1\n use $[ENV.REPO_ROOT]/spec/testdata/debug-frame-use.ysh\n ^~~\n #2 /home/uke/oil/spec/testdata/debug-frame-use.ysh:5\n debug-frame-lib my-proc\n ^~~~~~~~~~~~~~~\n #3 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11\n print-stack\n ^~~~~~~~~~~\n\n' stdout: #1 /home/uke/oil/spec/testdata/debug-frame-main.ysh:4 print-stack ^~~~~~~~~~~ #1 /home/uke/oil/spec/testdata/debug-frame-main.ysh:7 my-proc ^~~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11 print-stack ^~~~~~~~~~~ #1 [ stdin ]:1 source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; my-proc ^~~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11 print-stack ^~~~~~~~~~~ #1 [ -c flag ]:1 source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; my-proc ^~~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11 print-stack ^~~~~~~~~~~ #1 [ eval arg at line 1 of [ -c flag ] ]:1 my-proc a b ^~~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11 print-stack ^~~~~~~~~~~ #1 [ -c flag ]:1 source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-eval.ysh ^~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-eval.ysh:7 p3 ^~ #3 [ eval arg at line 4 of /home/uke/oil/spec/testdata/debug-frame-eval.ysh ]:1 my-proc x y ^~~~~~~ #4 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11 print-stack ^~~~~~~~~~~ #1 [ -c flag ]:1 source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; call-func ^~~~~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:15 var x = myfunc(99) ^ #3 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:25 return (myfunc2(x+1, 42)) ^~~~~~ #4 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:20 print-stack ^~~~~~~~~~~ 142 #1 [ -c flag ]:1 use $[ENV.REPO_ROOT]/spec/testdata/debug-frame-use.ysh ^~~ #2 /home/uke/oil/spec/testdata/debug-frame-use.ysh:5 debug-frame-lib my-proc ^~~~~~~~~~~~~~~ #3 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11 print-stack ^~~~~~~~~~~stderr: |
ysh_ALT | 13 formatDebugFrame() [ysh_ALT stdout] Expected 'z\n', got ' #1 /home/uke/oil/spec/testdata/debug-frame-main.ysh:4\n print-stack\n ^~~~~~~~~~~\n\n #1 /home/uke/oil/spec/testdata/debug-frame-main.ysh:7\n my-proc\n ^~~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11\n print-stack\n ^~~~~~~~~~~\n\n #1 [ stdin ]:1\n source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; my-proc\n ^~~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11\n print-stack\n ^~~~~~~~~~~\n\n #1 [ -c flag ]:1\n source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; my-proc\n ^~~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11\n print-stack\n ^~~~~~~~~~~\n\n #1 [ eval arg at line 1 of [ -c flag ] ]:1\n my-proc a b\n ^~~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11\n print-stack\n ^~~~~~~~~~~\n\n #1 [ -c flag ]:1\n source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-eval.ysh\n ^~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-eval.ysh:7\n p3\n ^~\n #3 [ eval arg at line 4 of /home/uke/oil/spec/testdata/debug-frame-eval.ysh ]:1\n my-proc x y\n ^~~~~~~\n #4 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11\n print-stack\n ^~~~~~~~~~~\n\n #1 [ -c flag ]:1\n source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; call-func\n ^~~~~~~~~\n #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:15\n var x = myfunc(99)\n ^\n #3 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:25\n return (myfunc2(x+1, 42))\n ^~~~~~\n #4 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:20\n print-stack\n ^~~~~~~~~~~\n142\n\n #1 [ -c flag ]:1\n use $[ENV.REPO_ROOT]/spec/testdata/debug-frame-use.ysh\n ^~~\n #2 /home/uke/oil/spec/testdata/debug-frame-use.ysh:5\n debug-frame-lib my-proc\n ^~~~~~~~~~~~~~~\n #3 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11\n print-stack\n ^~~~~~~~~~~\n\n' stdout: #1 /home/uke/oil/spec/testdata/debug-frame-main.ysh:4 print-stack ^~~~~~~~~~~ #1 /home/uke/oil/spec/testdata/debug-frame-main.ysh:7 my-proc ^~~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11 print-stack ^~~~~~~~~~~ #1 [ stdin ]:1 source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; my-proc ^~~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11 print-stack ^~~~~~~~~~~ #1 [ -c flag ]:1 source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; my-proc ^~~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11 print-stack ^~~~~~~~~~~ #1 [ eval arg at line 1 of [ -c flag ] ]:1 my-proc a b ^~~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11 print-stack ^~~~~~~~~~~ #1 [ -c flag ]:1 source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-eval.ysh ^~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-eval.ysh:7 p3 ^~ #3 [ eval arg at line 4 of /home/uke/oil/spec/testdata/debug-frame-eval.ysh ]:1 my-proc x y ^~~~~~~ #4 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11 print-stack ^~~~~~~~~~~ #1 [ -c flag ]:1 source $[ENV.REPO_ROOT]/spec/testdata/debug-frame-lib.ysh; call-func ^~~~~~~~~ #2 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:15 var x = myfunc(99) ^ #3 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:25 return (myfunc2(x+1, 42)) ^~~~~~ #4 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:20 print-stack ^~~~~~~~~~~ 142 #1 [ -c flag ]:1 use $[ENV.REPO_ROOT]/spec/testdata/debug-frame-use.ysh ^~~ #2 /home/uke/oil/spec/testdata/debug-frame-use.ysh:5 debug-frame-lib my-proc ^~~~~~~~~~~~~~~ #3 /home/uke/oil/spec/testdata/debug-frame-lib.ysh:11 print-stack ^~~~~~~~~~~stderr: |