builtin-type-bash () { run-file builtin-type-bash "$@" } 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
55 passed, 4 OK, 0 not implemented, 1 BUG, 0 failed, 0 timeouts, 0 cases skipped
bash | 4 type -t control flow stdout: builtin builtin builtin builtinstderr: |
bash | 6 type -t doesn't find non-executable (like command -v) stdout: filestderr: |
osh | 17 type -a -> function; prints shell source code stdout: f is a shell functionstderr: |
bash | 19 type -a -> alias; prints alias definition stdout: ll is aliased to `ls -lha'stderr: |
osh | 27 type -a -> builtin and file and shell function stdout: pwd is a shell builtin pwd is /bin/pwd pwd is _tmp/pwd --- pwd is a shell function pwd is a shell builtin pwd is /bin/pwd pwd is _tmp/pwd --- pwd is a shell builtin pwd is /bin/pwd pwd is _tmp/pwdstderr: |