spec test index / oilshell.org
| case | bash | osh | description |
| 0 | pass | pass | type -t builtin -> function |
| 1 | pass | pass | type -t builtin -> builtin |
| 2 | pass | pass | type -t builtin -> keyword |
| 3 | pass | pass | type -t builtin -> file |
| 4 | pass | pass | type -t builtin -> not found |
| 5 | pass | pass | help |
| 6 | pass | pass | bad help topic |
| 7 | pass | pass | type -p builtin -> file |
| 8 | pass | pass | type -p builtin -> not found |
| 9 | pass | pass | type -p builtin -> not a file |
| 10 | pass | pass | type -P builtin -> file |
| 11 | pass | pass | type -P builtin -> not found |
| 12 | pass | pass | type -P builtin -> not a file |
| 13 | pass | pass | type -P builtin -> not a file but file found |
| 14 | pass | pass | type -f builtin -> not found |
| 15 | ok | pass | type -f builtin -> function and file exists |
| details |
31 passed, 1 ok, 0 known unimplemented, 0 known bugs, 0 failed, 0 skipped
| bash | 15 type -f builtin -> function and file exists stdout: mv is /bin/mv tar is /bin/tar grep is /bin/grepstderr: |