Results for builtin-type.test.sh

statusbashmkshkshtoyshsushbrushosh
pass 3220116
ok 1400000
N-I 2000000
FAIL 0046550
total6666666
casebashmkshkshtoyshsushbrushoshdescription
0pass ok FAIL FAIL FAIL pass pass type -> keyword builtin
detailsdetailsdetailsdetails
1ok ok FAIL FAIL FAIL FAIL pass type -> alias function external
detailsdetailsdetailsdetailsdetailsdetails
2pass ok FAIL FAIL pass FAIL pass type of relative path
detailsdetailsdetailsdetails
3pass ok FAIL FAIL FAIL FAIL pass type -> not found
detailsdetailsdetailsdetailsdetails
4N-I pass pass FAIL FAIL FAIL pass special builtins are called out
detailsdetailsdetailsdetails
5N-I pass pass FAIL FAIL FAIL pass more special builtins
detailsdetailsdetailsdetails
15 passed, 5 OK, 2 not implemented, 0 BUG, 20 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

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:
bash1 type -> alias function external

stdout:
ll is aliased to ls -l
f is a function
f () 
{ 
    echo hi
}
date is _tmp/date
stderr:
mksh1 type -> alias function external

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

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

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

[toysh stdout] Expected 'll is an alias for ls -l\nf is a shell function\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
sush1 type -> alias function external

[sush stdout] Expected 'll is an alias for ls -l\nf is a shell function\ndate is _tmp/date\n' Got 'll is aliased to ls -l\nf is a function\nf() { echo hi; }\ndate is _tmp/date\n'

stdout:
ll is aliased to ls -l
f is a function
f() { echo hi; }
date is _tmp/date
stderr:
brush1 type -> alias function external

[brush stdout] Expected 'll is an alias for ls -l\nf is a shell function\ndate is _tmp/date\n' Got 'll is aliased to ls -l\nf is a function\nf () \n{ \n echo hi\n}\ndate is _tmp/date\n'

stdout:
ll is aliased to ls -l
f is a function
f () 
{ 
    echo hi
}
date is _tmp/date
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.3682484/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.3682484/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
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:
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: 
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: