ysh-prompt () { run-file ysh-prompt "$@" } run-file () { local spec_name=$1; shift; sh-spec spec/$spec_name.test.sh --compare-shells --oils-bin-dir $PWD/bin "$@" }
spec test index / oilshell.org
| status | ysh | ysh_ALT | |
| pass | 7 | 7 | |
| total | 7 | 7 | |
| case | ysh | ysh_ALT | description |
| 0 | pass | pass | promptVal() with various values |
| 1 | pass | pass | promptVal() with invalid chars |
| 2 | pass | pass | ysh respects PS1 |
| 3 | pass | pass | ysh respects renderPrompt() over PS1 |
| 4 | pass | pass | renderPrompt() doesn't return string |
| 5 | pass | pass | renderPrompt() raises error |
| 6 | pass | pass | renderPrompt() has wrong signature |
14 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped