builtin-type () { run-file builtin-type "$@" } 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 | bash | zsh | mksh | dash | ash | osh | |
pass | 3 | 1 | 0 | 2 | 1 | 4 | |
ok | 1 | 3 | 4 | 0 | 1 | 0 | |
BUG | 0 | 0 | 0 | 2 | 2 | 0 | |
total | 4 | 4 | 4 | 4 | 4 | 4 | |
case | bash | zsh | mksh | dash | ash | osh | description |
0 | pass | ok | ok | pass | pass | pass | type -> keyword builtin |
details | details | ||||||
1 | ok | pass | ok | pass | ok | pass | type -> alias function external |
details | details | details | |||||
2 | pass | ok | ok | BUG | BUG | pass | type of relative path |
details | details | details | details | ||||
3 | pass | ok | ok | BUG | BUG | pass | type -> not found |
details | details | details | details |
11 passed, 9 OK, 0 not implemented, 4 BUG, 0 failed, 0 timeouts, 0 cases skipped
zsh | 0 type -> keyword builtin stdout: while is a reserved word cd is a shell builtinstderr: |
mksh | 0 type -> keyword builtin stdout: while is a reserved word cd is a shell builtinstderr: |
bash | 1 type -> alias function external stdout: ll is aliased to ls -l f is a function f () { echo hi } date is _tmp/datestderr: |
mksh | 1 type -> alias function external stdout: ll is an alias for ls -l f is a function date is a tracked alias for _tmp/datestderr: mksh: <stdin>[1]: shopt: not found |
ash | 1 type -> alias function external stdout: ll is an alias for ls -l f is a function date is _tmp/datestderr: ash: shopt: not found |
zsh | 2 type of relative path stdout: _tmp/file not found _tmp/ex is _tmp/exstderr: |
mksh | 2 type of relative path stdout: _tmp/file not found _tmp/ex is _tmp/exstderr: |
dash | 2 type of relative path stdout: _tmp/file is _tmp/file _tmp/ex is _tmp/exstderr: |
ash | 2 type of relative path stdout: _tmp/file is _tmp/file _tmp/ex is _tmp/exstderr: |
zsh | 3 type -> not found stdout: zz not found status=1stderr: |
mksh | 3 type -> not found stdout: zz not found status=1stderr: |
dash | 3 type -> not found stdout: zz: not found status=127stderr: |
ash | 3 type -> not found stdout: zz: not found status=127stderr: |