Results for ysh-method-other.test.sh

statusyshysh_ALT
pass 22
FAIL 11
total33
caseyshysh_ALTdescription
0pass pass Command.sourceCode() on literal block: p { echo hi }
1pass pass Command.sourceCode() on Expr: ^(echo 1; echo 2)
2FAIL FAIL Command.sourceCode() works with reparsing, e.g. backticks
detailsdetails
4 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

ysh2 Command.sourceCode() works with reparsing, e.g. backticks

[ysh stdout] Expected '', got ' \n echo "greeting `echo hi`"\necho hi\n\n'
[ysh status] Expected 0, got 2

stdout:
    
  echo "greeting `echo hi`"
echo hi

stderr:
  alias e='echo hi'
          ^
[ stdin ]:18: Invalid quoted word part in YSH (OILS-ERR-17)
ysh_ALT2 Command.sourceCode() works with reparsing, e.g. backticks

[ysh_ALT stdout] Expected '', got ' \n echo "greeting `echo hi`"\necho hi\n\n'
[ysh_ALT status] Expected 0, got 2

stdout:
    
  echo "greeting `echo hi`"
echo hi

stderr:
  alias e='echo hi'
          ^
[ stdin ]:18: Invalid quoted word part in YSH (OILS-ERR-17)