spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 12 | 12 | |
FAIL | 1 | 1 | |
total | 13 | 13 | |
case | osh | osh-cpp | description |
0 | pass | pass | command -v |
1 | pass | pass | command -v with multiple names |
2 | pass | pass | command -v doesn't find non-executable file |
3 | pass | pass | command skips function lookup |
4 | pass | pass | command command seq 3 |
5 | pass | pass | command command -v seq |
6 | pass | pass | history usage |
7 | FAIL | FAIL | history -d to delete history item |
details | details | ||
8 | pass | pass | $(command type ls) |
9 | pass | pass | builtin |
10 | pass | pass | builtin ls not found |
11 | pass | pass | builtin no args |
12 | pass | pass | builtin command echo hi |
24 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 7 history -d to delete history item [osh stdout] Expected 'status=0\nstatus=1\nstatus=1\n', got 'status=2\nstatus=2\nstatus=2\n' stdout: status=2 status=2 status=2stderr: history -d 1 ^~~~~~~ [ stdin ]:3: 'history' couldn't find item 1 history -d -1 ^~ [ stdin ]:6: 'history' got invalid integer for -d: -1 history -d -2 ^~ [ stdin ]:8: 'history' got invalid integer for -d: -2 |
osh-cpp | 7 history -d to delete history item [osh-cpp stdout] Expected 'status=0\nstatus=1\nstatus=1\n', got 'status=0\nstatus=2\nstatus=2\n' stdout: status=0 status=2 status=2stderr: history -d -1 ^~ [ stdin ]:6: 'history' got invalid integer for -d: -1 history -d -2 ^~ [ stdin ]:8: 'history' got invalid integer for -d: -2 |