104 passed, 4 OK, 0 not implemented, 1 BUG, 101 failed, 0 timeouts, 0 cases skipped
mksh | 0 type -t -> function [mksh stdout] Expected 'function\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[2]: whence: -t: unknown option |
ksh | 0 type -t -> function [ksh stdout] Expected 'function\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[2]: whence: -t: unknown option |
toysh | 0 type -t -> function [toysh stdout] Expected 'function\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
mksh | 1 type -t -> alias [mksh stdout] Expected 'alias\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[3]: whence: -t: unknown option |
ksh | 1 type -t -> alias [ksh stdout] Expected 'alias\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[3]: whence: -t: unknown option |
toysh | 1 type -t -> alias [toysh stdout] Expected 'alias\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: type: No such file or directory |
mksh | 2 type -t -> builtin [mksh stdout] Expected 'builtin\nbuiltin\nbuiltin\nbuiltin\nbuiltin\nbuiltin\n' Got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: whence: -t: unknown option |
ksh | 2 type -t -> builtin [ksh stdout] Expected 'builtin\nbuiltin\nbuiltin\nbuiltin\nbuiltin\nbuiltin\n' Got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: whence: -t: unknown option |
toysh | 2 type -t -> builtin [toysh stdout] Expected 'builtin\nbuiltin\nbuiltin\nbuiltin\nbuiltin\nbuiltin\n' Got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 2 type -t -> builtin [sush stdout] Expected 'builtin\nbuiltin\nbuiltin\nbuiltin\nbuiltin\nbuiltin\n' Got 'file\nbuiltin\nbuiltin\nfile\n' [sush status] Expected 0, got 1 stdout: file builtin builtin filestderr: |
mksh | 3 type -t -> keyword [mksh stdout] Expected 'keyword\nkeyword\nkeyword\nkeyword\nkeyword\nkeyword\n' Got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: whence: -t: unknown option |
ksh | 3 type -t -> keyword [ksh stdout] Expected 'keyword\nkeyword\nkeyword\nkeyword\nkeyword\nkeyword\n' Got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: whence: -t: unknown option |
toysh | 3 type -t -> keyword [toysh stdout] Expected 'keyword\nkeyword\nkeyword\nkeyword\nkeyword\nkeyword\n' Got '' stdout: stderr: sh: type: No such file or directory |
sush | 3 type -t -> keyword [sush stdout] Expected 'keyword\nkeyword\nkeyword\nkeyword\nkeyword\nkeyword\n' Got 'keyword\nfile\nkeyword\nkeyword\nkeyword\n' [sush status] Expected 0, got 1 stdout: keyword file keyword keyword keywordstderr: |
mksh | 4 type -t control flow [mksh stdout] Expected 'builtin\nbuiltin\nbuiltin\nbuiltin\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: whence: -t: unknown option |
ksh | 4 type -t control flow [ksh stdout] Expected 'builtin\nbuiltin\nbuiltin\nbuiltin\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: whence: -t: unknown option |
toysh | 4 type -t control flow [toysh stdout] Expected 'builtin\nbuiltin\nbuiltin\nbuiltin\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
osh | 4 type -t control flow stdout: keyword keyword keyword keywordstderr: |
mksh | 5 type -t -> file [mksh stdout] Expected 'file\nfile\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: whence: -t: unknown option |
ksh | 5 type -t -> file [ksh stdout] Expected 'file\nfile\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: whence: -t: unknown option |
toysh | 5 type -t -> file [toysh stdout] Expected 'file\nfile\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
bash | 6 type -t doesn't find non-executable (like command -v) stdout: filestderr: |
toysh | 6 type -t doesn't find non-executable (like command -v) [toysh status] Expected 1, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 6 type -t doesn't find non-executable (like command -v) [sush stdout] Expected '', got 'file\n' [sush status] Expected 1, got 0 stdout: filestderr: |
mksh | 7 type -t -> not found [mksh stdout] Expected 'builtin\nfile\nstatus=1\n', got 'status=1\n' [mksh stderr] Expected '', got 'mksh: <stdin>[1]: whence: -t: unknown option\n' stdout: status=1stderr: mksh: <stdin>[1]: whence: -t: unknown option |
ksh | 7 type -t -> not found [ksh stdout] Expected 'builtin\nfile\nstatus=1\n', got 'status=1\n' [ksh stderr] Expected '', got 'E: ksh: <stdin>[1]: whence: -t: unknown option\n' stdout: status=1stderr: E: ksh: <stdin>[1]: whence: -t: unknown option |
toysh | 7 type -t -> not found [toysh stdout] Expected 'builtin\nfile\nstatus=1\n', got 'status=127\n' [toysh stderr] Expected '', got 'sh: type: No such file or directory\n' stdout: status=127stderr: sh: type: No such file or directory |
sush | 7 type -t -> not found [sush stdout] Expected 'builtin\nfile\nstatus=1\n', got 'file\nfile\nstatus=1\n' stdout: file file status=1stderr: |
mksh | 8 type -p and -P builtin -> file [mksh stdout] Expected '/tmp/mv\n/tmp/tar\n/tmp/grep\n--\n/tmp/mv\n/tmp/tar\n/tmp/grep\n' Got 'mv is a tracked alias for /tmp/mv\ntar is a tracked alias for /tmp/tar\ngrep is a tracked alias for /tmp/grep\n--\n' [mksh status] Expected 0, got 1 stdout: mv is a tracked alias for /tmp/mv tar is a tracked alias for /tmp/tar grep is a tracked alias for /tmp/grep --stderr: mksh: <stdin>[7]: whence: -P: unknown option |
ksh | 8 type -p and -P builtin -> file [ksh stdout] Expected '/tmp/mv\n/tmp/tar\n/tmp/grep\n--\n/tmp/mv\n/tmp/tar\n/tmp/grep\n' Got 'mv is a tracked alias for /tmp/mv\ntar is a tracked alias for /tmp/tar\ngrep is a tracked alias for /tmp/grep\n--\n' [ksh status] Expected 0, got 1 stdout: mv is a tracked alias for /tmp/mv tar is a tracked alias for /tmp/tar grep is a tracked alias for /tmp/grep --stderr: E: ksh: <stdin>[7]: whence: -P: unknown option |
toysh | 8 type -p and -P builtin -> file [toysh stdout] Expected '/tmp/mv\n/tmp/tar\n/tmp/grep\n--\n/tmp/mv\n/tmp/tar\n/tmp/grep\n' Got '\n' [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory sh: type: No such file or directory |
mksh | 9 type -a -P gives multiple files [mksh stdout] Expected '_tmp/pwd\n/bin/pwd\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[5]: whence: -a: unknown option |
ksh | 9 type -a -P gives multiple files [ksh stdout] Expected '_tmp/pwd\n/bin/pwd\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[5]: whence: -a: unknown option |
toysh | 9 type -a -P gives multiple files [toysh stdout] Expected '_tmp/pwd\n/bin/pwd\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 9 type -a -P gives multiple files [sush stdout] Expected '_tmp/pwd\n/bin/pwd\n', got '_tmp/pwd\n' [sush status] Expected 0, got 1 stdout: _tmp/pwdstderr: |
mksh | 10 type -p builtin -> not found [mksh stdout] Expected '', got 'FOO not found\nBAR not found\nNOT_FOUND not found\n' stdout: FOO not found BAR not found NOT_FOUND not foundstderr: |
ksh | 10 type -p builtin -> not found [ksh stdout] Expected '', got 'FOO not found\nBAR not found\nNOT_FOUND not found\n' stdout: FOO not found BAR not found NOT_FOUND not foundstderr: |
toysh | 10 type -p builtin -> not found [toysh status] Expected 1, got 127 stdout: stderr: sh: type: No such file or directory |
mksh | 11 type -p builtin -> not a file [mksh stdout] Expected '', got 'cd not found\ntype not found\nbuiltin not found\ncommand not found\n' [mksh status] Expected 0, got 1 stdout: cd not found type not found builtin not found command not foundstderr: |
ksh | 11 type -p builtin -> not a file [ksh stdout] Expected '', got 'cd not found\ntype not found\nbuiltin not found\ncommand not found\n' [ksh status] Expected 0, got 1 stdout: cd not found type not found builtin not found command not foundstderr: |
toysh | 11 type -p builtin -> not a file [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
toysh | 12 type -P builtin -> not found [toysh status] Expected 1, got 127 stdout: stderr: sh: type: No such file or directory |
toysh | 13 type -P builtin -> not a file [toysh status] Expected 1, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 13 type -P builtin -> not a file [sush status] Expected 1, got 0 stdout: stderr: |
mksh | 14 type -P builtin -> not a file but file found [mksh stdout] Expected '_tmp/mv\n_tmp/tar\n_tmp/grep\n', got '' stdout: stderr: mksh: <stdin>[8]: whence: -P: unknown option |
ksh | 14 type -P builtin -> not a file but file found [ksh stdout] Expected '_tmp/mv\n_tmp/tar\n_tmp/grep\n', got '' stdout: stderr: E: ksh: <stdin>[8]: whence: -P: unknown option |
toysh | 14 type -P builtin -> not a file but file found [toysh stdout] Expected '_tmp/mv\n_tmp/tar\n_tmp/grep\n', got '' [toysh status] Expected 1, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 14 type -P builtin -> not a file but file found [sush status] Expected 1, got 0 stdout: _tmp/mv _tmp/tar _tmp/grepstderr: |
toysh | 15 type -f builtin -> not found [toysh status] Expected 1, got 127 stdout: stderr: sh: type: No such file or directory |
mksh | 16 type -f builtin -> function and file exists [mksh stdout] Expected 'mv is /tmp/mv\ntar is /tmp/tar\ngrep is /tmp/grep\n' Got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[8]: whence: -f: unknown option |
ksh | 16 type -f builtin -> function and file exists [ksh stdout] Expected 'mv is /tmp/mv\ntar is /tmp/tar\ngrep is /tmp/grep\n' Got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[8]: whence: -f: unknown option |
toysh | 16 type -f builtin -> function and file exists [toysh stdout] Expected 'mv is /tmp/mv\ntar is /tmp/tar\ngrep is /tmp/grep\n' Got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 16 type -f builtin -> function and file exists [sush stdout] Expected 'mv is /tmp/mv\ntar is /tmp/tar\ngrep is /tmp/grep\n' Got 'mv is a function\nmv () { ls; }\ntar is a function\ntar () { ls; }\ngrep is a function\ngrep () { ls; }\n' [sush status] Expected 0, got 1 stdout: mv is a function mv () { ls; } tar is a function tar () { ls; } grep is a function grep () { ls; }stderr: |
mksh | 17 type -a -> function; prints shell source code [mksh stdout] Expected 'f is a function\nf () \n{ \n :\n}\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[2]: whence: -a: unknown option |
ksh | 17 type -a -> function; prints shell source code [ksh stdout] Expected 'f is a function\nf () \n{ \n :\n}\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[2]: whence: -a: unknown option |
toysh | 17 type -a -> function; prints shell source code [toysh stdout] Expected 'f is a function\nf () \n{ \n :\n}\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 17 type -a -> function; prints shell source code [sush stdout] Expected 'f is a function\nf () \n{ \n :\n}\n', got 'f is a function\nf () { :; }\n' [sush status] Expected 0, got 1 stdout: f is a function f () { :; }stderr: |
osh | 17 type -a -> function; prints shell source code stdout: f is a shell functionstderr: |
mksh | 18 type -ap -> function [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[2]: whence: -a: unknown option |
ksh | 18 type -ap -> function [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[2]: whence: -a: unknown option |
toysh | 18 type -ap -> function [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 18 type -ap -> function [sush status] Expected 0, got 1 stdout: stderr: |
bash | 19 type -a -> alias; prints alias definition stdout: ll is aliased to `ls -lha'stderr: |
mksh | 19 type -a -> alias; prints alias definition [mksh stdout] Expected 'll is an alias for "ls -lha"\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[3]: whence: -a: unknown option |
ksh | 19 type -a -> alias; prints alias definition [ksh stdout] Expected 'll is an alias for "ls -lha"\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[3]: whence: -a: unknown option |
toysh | 19 type -a -> alias; prints alias definition [toysh stdout] Expected 'll is an alias for "ls -lha"\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: type: No such file or directory |
sush | 19 type -a -> alias; prints alias definition [sush stdout] Expected 'll is an alias for "ls -lha"\n', got "ll is aliased to `ls -lha'\n" [sush status] Expected 0, got 1 stdout: ll is aliased to `ls -lha'stderr: |
brush | 19 type -a -> alias; prints alias definition [brush stdout] Expected 'll is an alias for "ls -lha"\n', got "ll is aliased to 'ls -lha'\n" stdout: ll is aliased to 'ls -lha'stderr: |
mksh | 20 type -ap -> alias [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[3]: whence: -a: unknown option |
ksh | 20 type -ap -> alias [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[3]: whence: -a: unknown option |
toysh | 20 type -ap -> alias [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: type: No such file or directory |
sush | 20 type -ap -> alias [sush status] Expected 0, got 1 stdout: stderr: |
mksh | 21 type -a -> builtin [mksh stdout] Expected 'cd is a shell builtin\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: whence: -a: unknown option |
ksh | 21 type -a -> builtin [ksh stdout] Expected 'cd is a shell builtin\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: whence: -a: unknown option |
toysh | 21 type -a -> builtin [toysh stdout] Expected 'cd is a shell builtin\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 21 type -a -> builtin [sush status] Expected 0, got 1 stdout: cd is a shell builtinstderr: |
mksh | 22 type -ap -> builtin [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: whence: -a: unknown option |
ksh | 22 type -ap -> builtin [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: whence: -a: unknown option |
toysh | 22 type -ap -> builtin [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 22 type -ap -> builtin [sush status] Expected 0, got 1 stdout: stderr: |
mksh | 23 type -a -> keyword [mksh stdout] Expected 'while is a shell keyword\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: whence: -a: unknown option |
ksh | 23 type -a -> keyword [ksh stdout] Expected 'while is a shell keyword\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: whence: -a: unknown option |
toysh | 23 type -a -> keyword [toysh stdout] Expected 'while is a shell keyword\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 23 type -a -> keyword [sush stdout] Expected 'while is a shell keyword\n', got 'while is reserved\n' [sush status] Expected 0, got 1 stdout: while is reservedstderr: |
mksh | 24 type -a -> file [mksh stdout] Expected 'date is /bin/date\ndate is _tmp/date\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[5]: whence: -a: unknown option |
ksh | 24 type -a -> file [ksh stdout] Expected 'date is /bin/date\ndate is _tmp/date\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[5]: whence: -a: unknown option |
toysh | 24 type -a -> file [toysh stdout] Expected 'date is /bin/date\ndate is _tmp/date\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 24 type -a -> file [sush stdout] Expected 'date is /bin/date\ndate is _tmp/date\n', got 'date is /bin/date\n' [sush status] Expected 0, got 1 stdout: date is /bin/datestderr: |
mksh | 25 type -ap -> file; abbreviated [mksh stdout] Expected '/bin/date\n_tmp/date\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[5]: whence: -a: unknown option |
ksh | 25 type -ap -> file; abbreviated [ksh stdout] Expected '/bin/date\n_tmp/date\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[5]: whence: -a: unknown option |
toysh | 25 type -ap -> file; abbreviated [toysh stdout] Expected '/bin/date\n_tmp/date\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 25 type -ap -> file; abbreviated [sush stdout] Expected '/bin/date\n_tmp/date\n', got '/bin/date\n' [sush status] Expected 0, got 1 stdout: /bin/datestderr: |
mksh | 26 type -a -> builtin and file [mksh stdout] Expected 'pwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n' Got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[5]: whence: -a: unknown option |
ksh | 26 type -a -> builtin and file [ksh stdout] Expected 'pwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n' Got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[5]: whence: -a: unknown option |
toysh | 26 type -a -> builtin and file [toysh stdout] Expected 'pwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n' Got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: type: No such file or directory |
sush | 26 type -a -> builtin and file [sush stdout] Expected 'pwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n' Got 'pwd is a shell builtin\n' [sush status] Expected 0, got 1 stdout: pwd is a shell builtinstderr: |
mksh | 27 type -a -> builtin and file and shell function [mksh stdout] Expected 'pwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n---\npwd is a function\npwd () \n{ \n echo function-too\n}\npwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n---\npwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n' Got '---\n---\n' [mksh status] Expected 0, got 1 stdout: --- ---stderr: mksh: <stdin>[5]: whence: -a: unknown option mksh: <stdin>[9]: whence: -a: unknown option mksh: <stdin>[12]: whence: -a: unknown option |
ksh | 27 type -a -> builtin and file and shell function [ksh stdout] Expected 'pwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n---\npwd is a function\npwd () \n{ \n echo function-too\n}\npwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n---\npwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n' Got '---\n---\n' [ksh status] Expected 0, got 1 stdout: --- ---stderr: E: ksh: <stdin>[5]: whence: -a: unknown option E: ksh: <stdin>[9]: whence: -a: unknown option E: ksh: <stdin>[12]: whence: -a: unknown option |
toysh | 27 type -a -> builtin and file and shell function [toysh stdout] Expected 'pwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n---\npwd is a function\npwd () \n{ \n echo function-too\n}\npwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n---\npwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n' Got '---\n---\n' [toysh status] Expected 0, got 127 stdout: --- ---stderr: sh: type: No such file or directory sh: type: No such file or directory sh: type: No such file or directory |
sush | 27 type -a -> builtin and file and shell function [sush stdout] Expected 'pwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n---\npwd is a function\npwd () \n{ \n echo function-too\n}\npwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n---\npwd is a shell builtin\npwd is /bin/pwd\npwd is _tmp/pwd\n' Got 'pwd is a shell builtin\n---\npwd is a function\npwd() { echo function-too; }\n---\npwd is a function\npwd() { echo function-too; }\n' [sush status] Expected 0, got 1 stdout: pwd is a shell builtin --- pwd is a function pwd() { echo function-too; } --- pwd is a function pwd() { echo function-too; }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: |
mksh | 28 type -ap -> builtin and file; doesn't print builtin or function [mksh stdout] Expected '/bin/pwd\n_tmp/pwd\n---\n', got '---\npwd is a tracked alias for /bin/pwd\n' stdout: --- pwd is a tracked alias for /bin/pwdstderr: mksh: <stdin>[7]: whence: -a: unknown option |
ksh | 28 type -ap -> builtin and file; doesn't print builtin or function [ksh stdout] Expected '/bin/pwd\n_tmp/pwd\n---\n', got '---\npwd is a tracked alias for /bin/pwd\n' stdout: --- pwd is a tracked alias for /bin/pwdstderr: E: ksh: <stdin>[7]: whence: -a: unknown option |
toysh | 28 type -ap -> builtin and file; doesn't print builtin or function [toysh stdout] Expected '/bin/pwd\n_tmp/pwd\n---\n', got '---\n' [toysh status] Expected 0, got 127 stdout: ---stderr: sh: type: No such file or directory sh: type: No such file or directory |
sush | 28 type -ap -> builtin and file; doesn't print builtin or function [sush stdout] Expected '/bin/pwd\n_tmp/pwd\n---\n', got '---\n' stdout: ---stderr: |
toysh | 29 type -a -> executable not in PATH [toysh status] Expected 1, got 127 stdout: stderr: sh: type: No such file or directory |