| status | osh | osh-cpp | |
| pass | 7 | 7 | |
| FAIL | 1 | 1 | |
| total | 8 | 8 | |
| case | osh | osh-cpp | description |
| 0 | pass | pass | test builtin - Unexpected trailing word '--' (#2409) |
| 1 | pass | pass | test builtin: ( = ) is confusing: equality test or non-empty string test |
| 2 | pass | pass | test builtin: ( == ) is confusing: equality test or non-empty string test |
| 3 | pass | pass | Allowed: [[ = ]] and [[ == ]] |
| 4 | pass | pass | Not allowed: [[ ) ]] and [[ ( ]] |
| 5 | pass | pass | test builtin: ( x ) behavior is the same in both cases |
| 6 | pass | pass | [ -f = ] and [ -f == ] |
| 7 | FAIL | FAIL | [[ -f -f ]] and [[ -f == ]] |
| details | details |
14 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
| osh | 7 [[ -f -f ]] and [[ -f == ]] [osh stdout] Expected 'status=1\nstatus=1\n' Got 'status=1\n' [osh status] Expected 0 Got 2 stdout: status=1stderr: echo status=$? ^~~~ [ stdin ]:5: Expected ]] |
| osh-cpp | 7 [[ -f -f ]] and [[ -f == ]] [osh-cpp stdout] Expected 'status=1\nstatus=1\n' Got 'status=1\n' [osh-cpp status] Expected 0 Got 2 stdout: status=1stderr: echo status=$? ^~~~ [ stdin ]:5: Expected ]] |