status | ysh | ysh_ALT | |
pass | 4 | 4 | |
FAIL | 4 | 4 | |
total | 8 | 8 | |
case | ysh | ysh_ALT | description |
0 | pass | pass | default prompt doesn't confuse OSH and YSH |
1 | pass | pass | promptVal() with various values |
2 | pass | pass | promptVal() with invalid chars |
3 | pass | pass | ysh respects PS1 |
4 | FAIL | FAIL | ysh respects renderPrompt() over PS1 |
details | details | ||
5 | FAIL | FAIL | renderPrompt() doesn't return string |
details | details | ||
6 | FAIL | FAIL | renderPrompt() raises error |
details | details | ||
7 | FAIL | FAIL | renderPrompt() has wrong signature |
details | details |
8 passed, 0 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped 4 failed under osh
ysh | 4 ysh respects renderPrompt() over PS1 [ysh stderr] Expected u'hi$ hi$ ', got "Local 'renderPrompt'\nLocal 'parts'\nhi$ Local 'parts'\nhi$ " stdout: hi ^Dstderr: Local 'renderPrompt' Local 'parts' hi$ Local 'parts' hi$ |
ysh_ALT | 4 ysh respects renderPrompt() over PS1 [ysh_ALT stderr] Expected u'hi$ hi$ ', got "Local 'renderPrompt'\nLocal 'parts'\nhi$ Local 'parts'\nhi$ " stdout: hi ^Dstderr: Local 'renderPrompt' Local 'parts' hi$ Local 'parts' hi$ |
ysh | 5 renderPrompt() doesn't return string [ysh stderr] Expected u'<Error: renderPrompt() should return Str, got List> <Error: renderPrompt() should return Str, got List> ' Got "Local 'renderPrompt'\n<Error: renderPrompt() should return Str, got List> <Error: renderPrompt() should return Str, got List> " stdout: hi ^Dstderr: Local 'renderPrompt' <Error: renderPrompt() should return Str, got List> <Error: renderPrompt() should return Str, got List> |
ysh_ALT | 5 renderPrompt() doesn't return string [ysh_ALT stderr] Expected u'<Error: renderPrompt() should return Str, got List> <Error: renderPrompt() should return Str, got List> ' Got "Local 'renderPrompt'\n<Error: renderPrompt() should return Str, got List> <Error: renderPrompt() should return Str, got List> " stdout: hi ^Dstderr: Local 'renderPrompt' <Error: renderPrompt() should return Str, got List> <Error: renderPrompt() should return Str, got List> |
ysh | 6 renderPrompt() raises error [ysh stderr] Expected u'<Runtime error: oops><Runtime error: oops>' Got "Local 'renderPrompt'\n<Runtime error: oops><Runtime error: oops>" stdout: hi ^Dstderr: Local 'renderPrompt' <Runtime error: oops><Runtime error: oops> |
ysh_ALT | 6 renderPrompt() raises error [ysh_ALT stderr] Expected u'<Runtime error: oops><Runtime error: oops>' Got "Local 'renderPrompt'\n<Runtime error: oops><Runtime error: oops>" stdout: hi ^Dstderr: Local 'renderPrompt' <Runtime error: oops><Runtime error: oops> |
ysh | 7 renderPrompt() has wrong signature [ysh stderr] Expected u"<Runtime error: Func 'renderPrompt' takes no positional args, but got 1><Runtime error: Func 'renderPrompt' takes no positional args, but got 1>" Got "Local 'renderPrompt'\n<Runtime error: Func 'renderPrompt' takes no positional args, but got 1><Runtime error: Func 'renderPrompt' takes no positional args, but got 1>" stdout: hi ^Dstderr: Local 'renderPrompt' <Runtime error: Func 'renderPrompt' takes no positional args, but got 1><Runtime error: Func 'renderPrompt' takes no positional args, but got 1> |
ysh_ALT | 7 renderPrompt() has wrong signature [ysh_ALT stderr] Expected u"<Runtime error: Func 'renderPrompt' takes no positional args, but got 1><Runtime error: Func 'renderPrompt' takes no positional args, but got 1>" Got "Local 'renderPrompt'\n<Runtime error: Func 'renderPrompt' takes no positional args, but got 1><Runtime error: Func 'renderPrompt' takes no positional args, but got 1>" stdout: hi ^Dstderr: Local 'renderPrompt' <Runtime error: Func 'renderPrompt' takes no positional args, but got 1><Runtime error: Func 'renderPrompt' takes no positional args, but got 1> |