| status | bash | osh | |
| pass | 2 | 5 | |
| N-I | 6 | 0 | |
| FAIL | 0 | 3 | |
| total | 8 | 8 | |
| 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 | N-I | pass | cat |
| details | |||
| 6 | pass | pass | sleep |
| 7 | N-I | FAIL | readlink |
| details | details |
7 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 'status=1\n' stdout: status=1stderr: builtin sleep 0
^~~~~
[ stdin ]:4: 'sleep' isn't a shell builtin
|
| bash | 5 cat stdout: stderr: |
| bash | 7 readlink stdout: stderr: |
| osh | 7 readlink [osh stdout] Expected '', got 'TODO\n' stdout: TODOstderr: |