status | ysh | ysh-cpp | |
pass | 2 | 2 | |
FAIL | 1 | 1 | |
total | 3 | 3 | |
case | ysh | ysh-cpp | description |
0 | pass | pass | Command.sourceCode() on literal block: p { echo hi } |
1 | pass | pass | Command.sourceCode() on Expr: ^(echo 1; echo 2) |
2 | FAIL | FAIL | Command.sourceCode() works with reparsing, e.g. backticks |
details | details |
4 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
ysh | 2 Command.sourceCode() works with reparsing, e.g. backticks [ysh stdout] Expected '', got ' \n echo "greeting `echo hi`"\necho hi\n\n \n e foo\necho hi foo\n\n \n a[i++]=y\ni++\n\n' stdout: echo "greeting `echo hi`" echo hi e foo echo hi foo a[i++]=y i++stderr: |
ysh-cpp | 2 Command.sourceCode() works with reparsing, e.g. backticks [ysh-cpp stdout] Expected '', got ' \n echo "greeting `echo hi`"\necho hi\n\n \n e foo\necho hi foo\n\n \n a[i++]=y\ni++\n\n' stdout: echo "greeting `echo hi`" echo hi e foo echo hi foo a[i++]=y i++stderr: |