| status | bash | osh | |
| pass | 3 | 6 | |
| N-I | 6 | 0 | |
| FAIL | 0 | 3 | |
| total | 9 | 9 | |
| case | bash | osh | description |
| 0 | N-I | FAIL | invoke usage |
| details | details | ||
| 1 | N-I | pass | invoke nonexistent name |
| details | |||
| 2 | pass | pass | type and command builtin does not find private sleep, because it's not enabled |
| 3 | N-I | pass | but invoke --show finds the private builtin (alternative to type, command) |
| details | |||
| 4 | N-I | FAIL | builtin sleep finds the private builtin |
| details | details | ||
| 5 | pass | pass | sleep is still external |
| 6 | N-I | pass | cat |
| details | |||
| 7 | pass | pass | sleep |
| 8 | N-I | FAIL | readlink |
| details | details |
9 passed, 0 OK, 6 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
| bash | 0 invoke usage stdout: stderr: |
| osh | 0 invoke usage [osh stdout] Expected 'status=2\nstatus=2\n\nstatus=0\nstatus=0\nstatus=0\n' Got 'status=2\nstatus=2\n\nstatus=0\nstatus=0\nsleep\nstatus=0\n' stdout: status=2 status=2 status=0 status=0 sleep status=0stderr: invoke ^~~~~~ [ stdin ]:3: 'invoke' expected arguments invoke -- ^~~~~~ [ stdin ]:6: 'invoke' expected arguments |
| bash | 1 invoke nonexistent name stdout: stderr: |
| bash | 3 but invoke --show finds the private builtin (alternative to type, command) stdout: stderr: |
| bash | 4 builtin sleep finds the private builtin stdout: stderr: |
| osh | 4 builtin sleep finds the private builtin [osh stdout] Expected 'status=0\n', got 'sleep\nstatus=0\nsleep\nstatus=0\n' stdout: sleep status=0 sleep status=0stderr: |
| bash | 6 cat stdout: stderr: |
| bash | 8 readlink stdout: stderr: |
| osh | 8 readlink [osh stdout] Expected '', got 'TODO\n' stdout: TODOstderr: |