status | ysh | ysh_ALT | |
pass | 4 | 4 | |
FAIL | 1 | 1 | |
total | 5 | 5 | |
case | ysh | ysh_ALT | description |
0 | FAIL | FAIL | captureStdout() is like $() |
details | details | ||
1 | pass | pass | captureStdout() failure |
2 | pass | pass | io->eval() is like eval builtin |
3 | pass | pass | io->eval() with failing command - caller must handle |
4 | pass | pass | io->eval() with exit |
8 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 1 failed under osh
ysh | 0 captureStdout() is like $() [ysh stdout] Expected '(Str) "one\\ncaptured"\n', got '(Dict) {"stdout":"one\\ncaptured","stderr":""}\n' stdout: (Dict) {"stdout":"one\ncaptured","stderr":""}stderr: |
ysh_ALT | 0 captureStdout() is like $() [ysh_ALT stdout] Expected '(Str) "one\\ncaptured"\n', got '(Dict) {"stdout":"one\\ncaptured","stderr":""}\n' stdout: (Dict) {"stdout":"one\ncaptured","stderr":""}stderr: |