status | osh | osh-cpp | |
FAIL | 4 | 4 | |
total | 4 | 4 | |
case | osh | osh-cpp | description |
0 | FAIL | FAIL | ${ echo hi;} |
details | details | ||
1 | FAIL | FAIL | ${ echo hi } without semi-colon |
details | details | ||
2 | FAIL | FAIL | ${|REPLY=hi} |
details | details | ||
3 | FAIL | FAIL | for loop / case |
details | details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 4 failed under osh
osh | 0 ${ echo hi;} [osh stdout] Expected '[hi]\n\n[one\ntwo]\n\n[ 3 \n 4 5 ]\n\n', got '' [osh status] Expected 1, got 2 stdout: stderr: x=${ echo hi;} ^ [ stdin ]:1: Unexpected token in ${} |
osh-cpp | 0 ${ echo hi;} [osh-cpp stdout] Expected '[hi]\n\n[one\ntwo]\n\n[ 3 \n 4 5 ]\n\n', got '' [osh-cpp status] Expected 1, got 2 stdout: stderr: x=${ echo hi;} ^ [ stdin ]:1: Unexpected token in ${} |
osh | 1 ${ echo hi } without semi-colon [osh stdout] Expected '[no-semi]\n[no-space]\n', got '' [osh status] Expected 127, got 2 stdout: stderr: x=${ echo no-semi } ^ [ stdin ]:1: Unexpected token in ${} |
osh-cpp | 1 ${ echo hi } without semi-colon [osh-cpp stdout] Expected '[no-semi]\n[no-space]\n', got '' [osh-cpp status] Expected 127, got 2 stdout: stderr: x=${ echo no-semi } ^ [ stdin ]:1: Unexpected token in ${} |
osh | 2 ${|REPLY=hi} [osh stdout] Expected '[ reply var ]\n\n[from file]\n\n', got '' [osh status] Expected 1, got 2 stdout: stderr: x=${|y=" reply var "; REPLY=$y} ^ [ stdin ]:1: Unexpected token in ${} |
osh-cpp | 2 ${|REPLY=hi} [osh-cpp stdout] Expected '[ reply var ]\n\n[from file]\n\n', got '' [osh-cpp status] Expected 1, got 2 stdout: stderr: x=${|y=" reply var "; REPLY=$y} ^ [ stdin ]:1: Unexpected token in ${} |
osh | 3 for loop / case [osh stdout] Expected '-a-\n-b-\n-a--b-\n\nsh-case\nsh-case\n', got '' [osh status] Expected 0, got 2 stdout: stderr: x=${ for i in a b; do echo -$i-; done; } ^ [ stdin ]:1: Unexpected token in ${} |
osh-cpp | 3 for loop / case [osh-cpp stdout] Expected '-a-\n-b-\n-a--b-\n\nsh-case\nsh-case\n', got '' [osh-cpp status] Expected 0, got 2 stdout: stderr: x=${ for i in a b; do echo -$i-; done; } ^ [ stdin ]:1: Unexpected token in ${} |