Results for ysh-prompt.test.sh

statusyshysh-cpp
pass 87
FAIL 01
total88
caseyshysh-cppdescription
0pass pass default prompt doesn't confuse OSH and YSH
1pass FAIL promptVal() with various values
details
2pass pass promptVal() with invalid chars
3pass pass ysh respects PS1
4pass pass ysh respects renderPrompt() over PS1
5pass pass renderPrompt() doesn't return string
6pass pass renderPrompt() raises error
7pass pass renderPrompt() has wrong signature
15 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

ysh-cpp1 promptVal() with various values

[ysh-cpp stdout] Expected 'x=$\npass\n', got 'x=$\n'
[ysh-cpp status] Expected 0, got 3

stdout:
x=$
stderr:
  assert [x === ENV.PWD]
                   ^
[ stdin ]:9: fatal: Dict entry 'PWD' not found