status | osh | osh-cpp | |
pass | 17 | 16 | |
FAIL | 0 | 1 | |
total | 17 | 17 | |
case | osh | osh-cpp | description |
0 | pass | pass | command -v |
1 | pass | pass | command -v executable |
2 | pass | pass | command -v with multiple names |
3 | pass | pass | command -v doesn't find non-executable file |
4 | pass | pass | command -V |
5 | pass | pass | command -V nonexistent |
6 | pass | pass | command skips function lookup |
7 | pass | pass | command command seq 3 |
8 | pass | pass | command command -v seq |
9 | pass | pass | command -p (override existing program) |
10 | pass | pass | command -p (hide tool in custom path) |
11 | pass | pass | command -p (find hidden tool in default path) |
12 | pass | FAIL | $(command type ls) |
details | |||
13 | pass | pass | builtin |
14 | pass | pass | builtin ls not found |
15 | pass | pass | builtin no args |
16 | pass | pass | builtin command echo hi |
33 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh-cpp | 12 $(command type ls) [osh-cpp stdout] Expected 'FUNCTION\nstatus=0\n', got 'FUNCTION\n' [osh-cpp status] Expected 0, got -6 stdout: FUNCTIONstderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |