status | ysh | |
pass | 10 | |
FAIL | 4 | |
total | 14 | |
case | ysh | description |
0 | pass | join() |
1 | pass | @[split(x)] respects IFS |
2 | pass | @[maybe(x)] |
3 | pass | maybe() on invalid type is fatal error |
4 | pass | split() on invalid type is fatal error |
5 | pass | @[glob(x)] |
6 | pass | shSplit() respects IFS |
7 | pass | getVar() gets global or local vars |
8 | pass | ASCII upper() lower() |
9 | FAIL | Unicode upper() lower() |
details | ||
10 | pass | getFrame() |
11 | FAIL | bindFrame() |
details | ||
12 | FAIL | vm.getDebugStack() |
details | ||
13 | FAIL | formatDebugFrame() |
details |
10 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 4 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 | 11 bindFrame() [ysh stdout] Expected '', got '<Command>\n' [ysh status] Expected 0, got 1 stdout: <Command>stderr: var cmd = bindFrame(frag, getFrame(0)) ^~~~~~~~ [ stdin ]:5: fatal: Undefined variable 'getFrame' |
ysh | 12 vm.getDebugStack() [ysh stdout] Expected '1\n2\n', got '2\n3\n' stdout: 2 3stderr: |
ysh | 13 formatDebugFrame() [ysh stdout] Expected 'z\n', got 'main file /home/uke/oil/spec/testdata/debug-frame-main.ysh\nsource\ncall\n\nmain file /home/uke/oil/spec/testdata/debug-frame-main.ysh\nsource\ncall\ncall\n\nmain entry [ -c flag ]\nsource\ncall\n\nmain entry [ -c flag ]\nsource\ncall\ncall\n\nmain entry [ stdin ]\nsource\ncall\n\nmain entry [ stdin ]\nsource\ncall\ncall\n' stdout: main file /home/uke/oil/spec/testdata/debug-frame-main.ysh source call main file /home/uke/oil/spec/testdata/debug-frame-main.ysh source call call main entry [ -c flag ] source call main entry [ -c flag ] source call call main entry [ stdin ] source call main entry [ stdin ] source call callstderr: |