Results for builtin-type.test.sh

statusbashdashashzshmkshkshtoyshsushbrushosh
pass 4331220226
ok 0003300000
N-I 2102000000
BUG 0230100000
FAIL 0000046440
total6666666666
casebashdashashzshmkshkshtoyshsushbrushoshdescription
0pass pass pass ok ok FAIL FAIL FAIL pass pass type -> keyword builtin
detailsdetailsdetailsdetailsdetails
1pass pass pass pass BUG FAIL FAIL pass pass pass type -> alias external
detailsdetailsdetails
2pass BUG BUG ok ok FAIL FAIL pass FAIL pass type of relative path
detailsdetailsdetailsdetailsdetailsdetailsdetails
3pass BUG BUG ok ok FAIL FAIL FAIL FAIL pass type -> not found
detailsdetailsdetailsdetailsdetailsdetailsdetailsdetails
4N-I pass pass N-I pass pass FAIL FAIL FAIL pass special builtins are called out
detailsdetailsdetailsdetailsdetails
5N-I N-I BUG N-I pass pass FAIL FAIL FAIL pass more special builtins
detailsdetailsdetailsdetailsdetailsdetailsdetails
25 passed, 6 OK, 5 not implemented, 6 BUG, 18 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

zsh0 type -> keyword builtin

stdout:
while is a reserved word
cd is a shell builtin
stderr:
mksh0 type -> keyword builtin

stdout:
while is a reserved word
cd is a shell builtin
stderr:
ksh0 type -> keyword builtin

[ksh stdout] Expected 'while is a shell keyword\ncd is a shell builtin\n' Got 'while is a reserved word\ncd is a shell builtin\n'

stdout:
while is a reserved word
cd is a shell builtin
stderr:
toysh0 type -> keyword builtin

[toysh stdout] Expected 'while is a shell keyword\ncd is a shell builtin\n' Got ''
[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: type: No such file or directory
sush0 type -> keyword builtin

[sush stdout] Expected 'while is a shell keyword\ncd is a shell builtin\n' Got 'while is reserved\ncd is a shell builtin\n'

stdout:
while is reserved
cd is a shell builtin
stderr:
mksh1 type -> alias external

stdout:
ll is an alias for ls -l
date is a tracked alias for _tmp/date
stderr:
mksh: <stdin>[2]: shopt: not found
ksh1 type -> alias external

[ksh stdout] Expected 'll is an alias for ls -l\ndate is _tmp/date\n' Got 'll is an alias for ls -l\ndate is a tracked alias for /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/builtin-type.test.sh/01-ksh/_tmp/date\n'

stdout:
ll is an alias for ls -l
date is a tracked alias for /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/builtin-type.test.sh/01-ksh/_tmp/date
stderr:
E: ksh: <stdin>[2]: shopt: inaccessible or not found
toysh1 type -> alias external

[toysh stdout] Expected 'll is an alias for ls -l\ndate is _tmp/date\n' Got ''

stdout:
stderr: 
sh: shopt: No such file or directory
sh: alias: No such file or directory
sh: type: No such file or directory
dash2 type of relative path

stdout:
_tmp/file is _tmp/file
_tmp/ex is _tmp/ex
stderr:
ash2 type of relative path

stdout:
_tmp/file is _tmp/file
_tmp/ex is _tmp/ex
stderr:
zsh2 type of relative path

stdout:
_tmp/file not found
_tmp/ex is _tmp/ex
stderr:
mksh2 type of relative path

stdout:
_tmp/file not found
_tmp/ex is _tmp/ex
stderr:
ksh2 type of relative path

[ksh stdout] Expected '_tmp/ex is _tmp/ex\n', got '_tmp/file not found\n_tmp/ex is /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/builtin-type.test.sh/02-ksh/_tmp/ex\n'

stdout:
_tmp/file not found
_tmp/ex is /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/builtin-type.test.sh/02-ksh/_tmp/ex
stderr:
toysh2 type of relative path

[toysh stdout] Expected '_tmp/ex is _tmp/ex\n', got ''
[toysh status] Expected 1, got 127

stdout:
stderr: 
sh: type: No such file or directory
brush2 type of relative path

[brush status] Expected 1, got 0

stdout:
_tmp/ex is _tmp/ex
stderr:
type: _tmp/file not found
dash3 type -> not found

stdout:
zz: not found
status=127
stderr:
ash3 type -> not found

stdout:
zz: not found
status=127
stderr:
zsh3 type -> not found

stdout:
zz not found
status=1
stderr:
mksh3 type -> not found

stdout:
zz not found
status=1
stderr:
ksh3 type -> not found

[ksh stdout] Expected 'status=1\nzz: not found\n', got 'zz not found\nstatus=1\n'

stdout:
zz not found
status=1
stderr:
toysh3 type -> not found

[toysh stdout] Expected 'status=1\nzz: not found\n', got 'status=127\n'

stdout:
status=127
stderr:
sush3 type -> not found

[sush stdout] Expected 'status=1\nzz: not found\n', got 'status=1\n'

stdout:
status=1
stderr:
brush3 type -> not found

[brush stdout] Expected 'status=1\nzz: not found\n', got 'status=1\n'

stdout:
status=1
stderr:
bash4 special builtins are called out

stdout:
cd is a shell builtin
eval is a shell builtin
: is a shell builtin
true is a shell builtin

export is a shell builtin
stderr:
zsh4 special builtins are called out

stdout:
cd is a shell builtin
eval is a shell builtin
: is a shell builtin
true is a shell builtin

export is a reserved word
stderr:
toysh4 special builtins are called out

[toysh stdout] Expected 'cd is a shell builtin\neval is a special shell builtin\n: is a special shell builtin\ntrue is a shell builtin\n\nexport is a special shell builtin\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
sh: type: No such file or directory
sh: type: No such file or directory
sh: type: No such file or directory
sush4 special builtins are called out

[sush stdout] Expected 'cd is a shell builtin\neval is a special shell builtin\n: is a special shell builtin\ntrue is a shell builtin\n\nexport is a special shell builtin\n' Got 'cd is a shell builtin\neval is a shell builtin\n: is a shell builtin\ntrue is a shell builtin\n\n'
[sush status] Expected 0, got 1

stdout:
cd is a shell builtin
eval is a shell builtin
: is a shell builtin
true is a shell builtin

stderr:
brush4 special builtins are called out

[brush stdout] Expected 'cd is a shell builtin\neval is a special shell builtin\n: is a special shell builtin\ntrue is a shell builtin\n\nexport is a special shell builtin\n' Got 'cd is a shell builtin\neval is a shell builtin\n: is a shell builtin\ntrue is a shell builtin\n\nexport is a shell builtin\n'

stdout:
cd is a shell builtin
eval is a shell builtin
: is a shell builtin
true is a shell builtin

export is a shell builtin
stderr:
bash5 more special builtins

stdout:
stderr: 
dash5 more special builtins

stdout:
stderr: 
ash5 more special builtins

stdout:
. is a special shell builtin
source is a special shell builtin
stderr:
zsh5 more special builtins

stdout:
stderr: 
toysh5 more special builtins

[toysh stdout] Expected '. is a special shell builtin\nsource is a shell builtin\n' Got ''
[toysh status] Expected 0, got -6

stdout:
stderr: 
munmap_chunk(): invalid pointer
sush5 more special builtins

[sush stdout] Expected '. is a special shell builtin\nsource is a shell builtin\n' Got '. is a shell builtin\nsource is a shell builtin\n'

stdout:
. is a shell builtin
source is a shell builtin
stderr:
brush5 more special builtins

[brush stdout] Expected '. is a special shell builtin\nsource is a shell builtin\n' Got '. is a shell builtin\nsource is a shell builtin\n'

stdout:
. is a shell builtin
source is a shell builtin
stderr: