ysh-special-vars () { run-file ysh-special-vars "$@" } 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 | 5 | 5 | |
total | 5 | 5 | |
case | ysh | ysh_ALT | description |
0 | pass | pass | _this_dir in main and oshrc |
1 | pass | pass | _this_dir not set on stdin |
2 | pass | pass | _this_dir in sourced module |
3 | pass | pass | _this_dir not affected by 'cd' |
4 | pass | pass | _this_dir used with relative path |
10 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped