status | bash | mksh | ksh | toysh | sush | brush | osh | |
pass | 3 | 2 | 2 | 0 | 1 | 1 | 6 | |
ok | 1 | 4 | 0 | 0 | 0 | 0 | 0 | |
N-I | 2 | 0 | 0 | 0 | 0 | 0 | 0 | |
FAIL | 0 | 0 | 4 | 6 | 5 | 5 | 0 | |
total | 6 | 6 | 6 | 6 | 6 | 6 | 6 | |
case | bash | mksh | ksh | toysh | sush | brush | osh | description |
0 | pass | ok | FAIL | FAIL | FAIL | pass | pass | type -> keyword builtin |
details | details | details | details | |||||
1 | ok | ok | FAIL | FAIL | FAIL | FAIL | pass | type -> alias function external |
details | details | details | details | details | details | |||
2 | pass | ok | FAIL | FAIL | pass | FAIL | pass | type of relative path |
details | details | details | details | |||||
3 | pass | ok | FAIL | FAIL | FAIL | FAIL | pass | type -> not found |
details | details | details | details | details | ||||
4 | N-I | pass | pass | FAIL | FAIL | FAIL | pass | special builtins are called out |
details | details | details | details | |||||
5 | N-I | pass | pass | FAIL | FAIL | FAIL | pass | more special builtins |
details | details | details | details |
15 passed, 5 OK, 2 not implemented, 0 BUG, 20 failed, 0 timeouts, 0 cases skipped
mksh | 0 type -> keyword builtin stdout: while is a reserved word cd is a shell builtinstderr: |
ksh | 0 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 builtinstderr: |
toysh | 0 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 |
sush | 0 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 builtinstderr: |
bash | 1 type -> alias function external stdout: ll is aliased to ls -l f is a function f () { echo hi } date is _tmp/datestderr: |
mksh | 1 type -> alias function external stdout: ll is an alias for ls -l f is a function date is a tracked alias for _tmp/datestderr: mksh: <stdin>[1]: shopt: not found |
ksh | 1 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/datestderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found |
toysh | 1 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 |
sush | 1 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/datestderr: |
brush | 1 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/datestderr: |
mksh | 2 type of relative path stdout: _tmp/file not found _tmp/ex is _tmp/exstderr: |
ksh | 2 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/exstderr: |
toysh | 2 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 |
brush | 2 type of relative path [brush status] Expected 1, got 0 stdout: _tmp/ex is _tmp/exstderr: type: _tmp/file not found |
mksh | 3 type -> not found stdout: zz not found status=1stderr: |
ksh | 3 type -> not found [ksh stdout] Expected 'status=1\nzz: not found\n', got 'zz not found\nstatus=1\n' stdout: zz not found status=1stderr: |
toysh | 3 type -> not found [toysh stdout] Expected 'status=1\nzz: not found\n', got 'status=127\n' stdout: status=127stderr: |
sush | 3 type -> not found [sush stdout] Expected 'status=1\nzz: not found\n', got 'status=1\n' stdout: status=1stderr: |
brush | 3 type -> not found [brush stdout] Expected 'status=1\nzz: not found\n', got 'status=1\n' stdout: status=1stderr: |
bash | 4 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 builtinstderr: |
toysh | 4 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 |
sush | 4 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 builtinstderr: |
brush | 4 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 builtinstderr: |
bash | 5 more special builtins stdout: stderr: |
toysh | 5 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 |
sush | 5 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 builtinstderr: |
brush | 5 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 builtinstderr: |