Results for builtin-type-bash.test.sh

statusbashmkshkshtoyshsushbrushosh
pass 28550102927
ok 1000003
BUG 1000000
FAIL 02525302010
total30303030303030
casebashmkshkshtoyshsushbrushoshdescription
0pass FAIL FAIL FAIL pass pass pass type -t -> function
detailsdetailsdetails
1pass FAIL FAIL FAIL pass pass pass type -t -> alias
detailsdetailsdetails
2pass FAIL FAIL FAIL FAIL pass pass type -t -> builtin
detailsdetailsdetailsdetails
3pass FAIL FAIL FAIL FAIL pass pass type -t -> keyword
detailsdetailsdetailsdetails
4pass FAIL FAIL FAIL pass pass ok type -t control flow
detailsdetailsdetailsdetails
5pass FAIL FAIL FAIL pass pass pass type -t -> file
detailsdetailsdetails
6BUG pass pass FAIL FAIL pass pass type -t doesn't find non-executable (like command -v)
detailsdetailsdetails
7pass FAIL FAIL FAIL FAIL pass pass type -t -> not found
detailsdetailsdetailsdetails
8pass FAIL FAIL FAIL pass pass pass type -p and -P builtin -> file
detailsdetailsdetails
9pass FAIL FAIL FAIL FAIL pass pass type -a -P gives multiple files
detailsdetailsdetailsdetails
10pass FAIL FAIL FAIL pass pass pass type -p builtin -> not found
detailsdetailsdetails
11pass FAIL FAIL FAIL pass pass pass type -p builtin -> not a file
detailsdetailsdetails
12pass pass pass FAIL pass pass pass type -P builtin -> not found
details
13pass pass pass FAIL FAIL pass pass type -P builtin -> not a file
detailsdetails
14pass FAIL FAIL FAIL FAIL pass pass type -P builtin -> not a file but file found
detailsdetailsdetailsdetails
15pass pass pass FAIL pass pass pass type -f builtin -> not found
details
16pass FAIL FAIL FAIL FAIL pass pass type -f builtin -> function and file exists
detailsdetailsdetailsdetails
17pass FAIL FAIL FAIL FAIL pass ok type -a -> function; prints shell source code
detailsdetailsdetailsdetailsdetails
18pass FAIL FAIL FAIL FAIL pass pass type -ap -> function
detailsdetailsdetailsdetails
19ok FAIL FAIL FAIL FAIL FAIL pass type -a -> alias; prints alias definition
detailsdetailsdetailsdetailsdetailsdetails
20pass FAIL FAIL FAIL FAIL pass pass type -ap -> alias
detailsdetailsdetailsdetails
21pass FAIL FAIL FAIL FAIL pass pass type -a -> builtin
detailsdetailsdetailsdetails
22pass FAIL FAIL FAIL FAIL pass pass type -ap -> builtin
detailsdetailsdetailsdetails
23pass FAIL FAIL FAIL FAIL pass pass type -a -> keyword
detailsdetailsdetailsdetails
24pass FAIL FAIL FAIL FAIL pass pass type -a -> file
detailsdetailsdetailsdetails
25pass FAIL FAIL FAIL FAIL pass pass type -ap -> file; abbreviated
detailsdetailsdetailsdetails
26pass FAIL FAIL FAIL FAIL pass pass type -a -> builtin and file
detailsdetailsdetailsdetails
27pass FAIL FAIL FAIL FAIL pass ok type -a -> builtin and file and shell function
detailsdetailsdetailsdetailsdetails
28pass FAIL FAIL FAIL FAIL pass pass type -ap -> builtin and file; doesn't print builtin or function
detailsdetailsdetailsdetails
29pass pass pass FAIL pass pass pass type -a -> executable not in PATH
details
104 passed, 4 OK, 0 not implemented, 1 BUG, 101 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

mksh0 type -t -> function

[mksh stdout] Expected 'function\n', got ''
[mksh status] Expected 0, got 1

stdout:
stderr: 
mksh: <stdin>[2]: whence: -t: unknown option
ksh0 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
toysh0 type -t -> function

[toysh stdout] Expected 'function\n', got ''
[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: type: No such file or directory
mksh1 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
ksh1 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
toysh1 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
mksh2 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
ksh2 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
toysh2 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
sush2 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
file
stderr:
mksh3 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
ksh3 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
toysh3 type -t -> keyword

[toysh stdout] Expected 'keyword\nkeyword\nkeyword\nkeyword\nkeyword\nkeyword\n' Got ''

stdout:
stderr: 
sh: type: No such file or directory
sush3 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
keyword
stderr:
mksh4 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
ksh4 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
toysh4 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
osh4 type -t control flow

stdout:
keyword
keyword
keyword
keyword
stderr:
mksh5 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
ksh5 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
toysh5 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
bash6 type -t doesn't find non-executable (like command -v)

stdout:
file
stderr:
toysh6 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
sush6 type -t doesn't find non-executable (like command -v)

[sush stdout] Expected '', got 'file\n'
[sush status] Expected 1, got 0

stdout:
file
stderr:
mksh7 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=1
stderr:
mksh: <stdin>[1]: whence: -t: unknown option
ksh7 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=1
stderr:
E: ksh: <stdin>[1]: whence: -t: unknown option
toysh7 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=127
stderr:
sh: type: No such file or directory
sush7 type -t -> not found

[sush stdout] Expected 'builtin\nfile\nstatus=1\n', got 'file\nfile\nstatus=1\n'

stdout:
file
file
status=1
stderr:
mksh8 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
ksh8 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
toysh8 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
mksh9 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
ksh9 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
toysh9 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
sush9 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/pwd
stderr:
mksh10 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 found
stderr:
ksh10 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 found
stderr:
toysh10 type -p builtin -> not found

[toysh status] Expected 1, got 127

stdout:
stderr: 
sh: type: No such file or directory
mksh11 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 found
stderr:
ksh11 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 found
stderr:
toysh11 type -p builtin -> not a file

[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: type: No such file or directory
toysh12 type -P builtin -> not found

[toysh status] Expected 1, got 127

stdout:
stderr: 
sh: type: No such file or directory
toysh13 type -P builtin -> not a file

[toysh status] Expected 1, got 127

stdout:
stderr: 
sh: type: No such file or directory
sush13 type -P builtin -> not a file

[sush status] Expected 1, got 0

stdout:
stderr: 
mksh14 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
ksh14 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
toysh14 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
sush14 type -P builtin -> not a file but file found

[sush status] Expected 1, got 0

stdout:
_tmp/mv
_tmp/tar
_tmp/grep
stderr:
toysh15 type -f builtin -> not found

[toysh status] Expected 1, got 127

stdout:
stderr: 
sh: type: No such file or directory
mksh16 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
ksh16 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
toysh16 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
sush16 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:
mksh17 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
ksh17 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
toysh17 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
sush17 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:
osh17 type -a -> function; prints shell source code

stdout:
f is a shell function
stderr:
mksh18 type -ap -> function

[mksh status] Expected 0, got 1

stdout:
stderr: 
mksh: <stdin>[2]: whence: -a: unknown option
ksh18 type -ap -> function

[ksh status] Expected 0, got 1

stdout:
stderr: 
E: ksh: <stdin>[2]: whence: -a: unknown option
toysh18 type -ap -> function

[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: type: No such file or directory
sush18 type -ap -> function

[sush status] Expected 0, got 1

stdout:
stderr: 
bash19 type -a -> alias; prints alias definition

stdout:
ll is aliased to `ls -lha'
stderr:
mksh19 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
ksh19 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
toysh19 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
sush19 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:
brush19 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:
mksh20 type -ap -> alias

[mksh status] Expected 0, got 1

stdout:
stderr: 
mksh: <stdin>[1]: shopt: not found
mksh: <stdin>[3]: whence: -a: unknown option
ksh20 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
toysh20 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
sush20 type -ap -> alias

[sush status] Expected 0, got 1

stdout:
stderr: 
mksh21 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
ksh21 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
toysh21 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
sush21 type -a -> builtin

[sush status] Expected 0, got 1

stdout:
cd is a shell builtin
stderr:
mksh22 type -ap -> builtin

[mksh status] Expected 0, got 1

stdout:
stderr: 
mksh: <stdin>[1]: whence: -a: unknown option
ksh22 type -ap -> builtin

[ksh status] Expected 0, got 1

stdout:
stderr: 
E: ksh: <stdin>[1]: whence: -a: unknown option
toysh22 type -ap -> builtin

[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: type: No such file or directory
sush22 type -ap -> builtin

[sush status] Expected 0, got 1

stdout:
stderr: 
mksh23 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
ksh23 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
toysh23 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
sush23 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 reserved
stderr:
mksh24 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
ksh24 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
toysh24 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
sush24 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/date
stderr:
mksh25 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
ksh25 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
toysh25 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
sush25 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/date
stderr:
mksh26 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
ksh26 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
toysh26 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
sush26 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 builtin
stderr:
mksh27 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
ksh27 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
toysh27 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
sush27 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:
osh27 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/pwd
stderr:
mksh28 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/pwd
stderr:
mksh: <stdin>[7]: whence: -a: unknown option
ksh28 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/pwd
stderr:
E: ksh: <stdin>[7]: whence: -a: unknown option
toysh28 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
sush28 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:
toysh29 type -a -> executable not in PATH

[toysh status] Expected 1, got 127

stdout:
stderr: 
sh: type: No such file or directory