spec test index / oilshell.org
| status | bash | osh | |
| pass | 16 | 18 | |
| ok | 1 | 0 | |
| BUG | 1 | 0 | |
| total | 18 | 18 | |
| case | bash | osh | description |
| 0 | pass | pass | type -t -> function |
| 1 | pass | pass | type -t -> alias |
| 2 | pass | pass | type -t -> builtin |
| 3 | pass | pass | type -t -> keyword |
| 4 | pass | pass | type -t -> file |
| 5 | BUG | pass | type -t doesn't find non-executable (like command -v) |
| details | |||
| 6 | pass | pass | type -t -> not found |
| 7 | pass | pass | help |
| 8 | pass | pass | bad help topic |
| 9 | pass | pass | type -p builtin -> file |
| 10 | pass | pass | type -p builtin -> not found |
| 11 | pass | pass | type -p builtin -> not a file |
| 12 | pass | pass | type -P builtin -> file |
| 13 | pass | pass | type -P builtin -> not found |
| 14 | pass | pass | type -P builtin -> not a file |
| 15 | pass | pass | type -P builtin -> not a file but file found |
| 16 | pass | pass | type -f builtin -> not found |
| 17 | ok | pass | type -f builtin -> function and file exists |
| details |
34 passed, 1 OK, 0 not implemented, 1 BUG, 0 failed, 0 timeouts, 0 cases skipped
| bash | 5 type -t doesn't find non-executable (like command -v) stdout: filestderr: |
| bash | 17 type -f builtin -> function and file exists stdout: mv is /bin/mv tar is /bin/tar grep is /bin/grepstderr: |