Results for ysh-prompt.test.sh

statusyshysh-cpp
pass 98
FAIL 01
total99
caseyshysh-cppdescription
0pass pass default prompt doesn't confuse OSH and YSH
1pass FAIL promptVal() with $ and w
details
2pass pass promptVal('w') respects ENV.HOME
3pass pass promptVal() with invalid chars
4pass pass ysh respects PS1
5pass pass ysh respects renderPrompt() over PS1
6pass pass renderPrompt() doesn't return string
7pass pass renderPrompt() raises error
8pass pass renderPrompt() has wrong signature
17 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 $ and w

[ysh-cpp stdout] Expected 'x=$\npass\n' Got 'x=$\n'
[ysh-cpp status] Expected 0 Got 2

stdout:
x=$
stderr:
  assert [x === $(pwd)]
                     ^
[ stdin ]:7: Invalid word while parsing command list