spec test index / oilshell.org
case | bash | osh | osh_ALT | description |
0 | pass | pass | pass | type -t -> function |
1 | pass | pass | pass | type -t -> alias |
2 | pass | pass | pass | type -t -> builtin |
3 | pass | pass | pass | type -t -> keyword |
4 | pass | pass | pass | type -t -> file |
5 | BUG | pass | pass | type -t doesn't find non-executable (like command -v) |
details | ||||
6 | pass | pass | pass | type -t -> not found |
7 | pass | pass | pass | help |
8 | pass | pass | pass | bad help topic |
9 | pass | pass | pass | type -p builtin -> file |
10 | pass | pass | pass | type -p builtin -> not found |
11 | pass | pass | pass | type -p builtin -> not a file |
12 | pass | pass | pass | type -P builtin -> file |
13 | pass | pass | pass | type -P builtin -> not found |
14 | pass | pass | pass | type -P builtin -> not a file |
15 | pass | pass | pass | type -P builtin -> not a file but file found |
16 | pass | pass | pass | type -f builtin -> not found |
17 | ok | pass | pass | type -f builtin -> function and file exists |
details |
52 passed, 1 ok, 0 known unimplemented, 1 known bugs, 0 failed, 0 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: |