| status | osh | osh-cpp | |
| pass | 8 | 8 | |
| FAIL | 3 | 3 | |
| total | 11 | 11 | |
| case | osh | osh-cpp | description |
| 0 | FAIL | FAIL | xz package: dirprefix="${line##*([}" |
| details | details | ||
| 1 | FAIL | FAIL | !( as negation and subshell versus extended glob - #2463 |
| details | details | ||
| 2 | FAIL | FAIL | Changing PATH will invalidate PATH cache |
| details | details | ||
| 3 | pass | pass | test builtin - Unexpected trailing word '--' (#2409) |
| 4 | pass | pass | builtin cat crashes a subshell (#2530) |
| 5 | pass | pass | test builtin: ( = ) is confusing: equality test or non-empty string test |
| 6 | pass | pass | test builtin: ( == ) is confusing: equality test or non-empty string test |
| 7 | pass | pass | Allowed: [[ = ]] and [[ == ]] |
| 8 | pass | pass | Not allowed: [[ ) ]] and [[ ( ]] |
| 9 | pass | pass | [ -f = ] and [ -f == ] |
| 10 | pass | pass | test builtin: ( x ) behavior is the same in both cases |
16 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
| osh | 0 xz package: dirprefix="${line##*([}" [osh stdout] Expected '--\n-foo-\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: echo "-$dirprefix-"
^
[ stdin ]:9: Unexpected EOF reading double-quoted string that began here
|
| osh-cpp | 0 xz package: dirprefix="${line##*([}" [osh-cpp stdout] Expected '--\n-foo-\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: echo "-$dirprefix-"
^
[ stdin ]:9: Unexpected EOF reading double-quoted string that began here
|
| osh | 1 !( as negation and subshell versus extended glob - #2463 [osh stdout] Expected 'one\ntwo\n' Got 'two\n' stdout: twostderr: if !($have_icu_uc && $have_icu_i18n); then
^~
[ stdin ]:4: Command '!(false && false)' not found (OILS-ERR-100)
|
| osh-cpp | 1 !( as negation and subshell versus extended glob - #2463 [osh-cpp stdout] Expected 'one\ntwo\n' Got 'two\n' stdout: twostderr: if !($have_icu_uc && $have_icu_i18n); then
^~
[ stdin ]:4: Command '!(false && false)' not found (OILS-ERR-100)
|
| osh | 2 Changing PATH will invalidate PATH cache [osh stdout] Expected 'hi\nstatus=0\nhey\nstatus=0\nhi\nstatus=0\nhey\nstatus=0\nhi\nstatus=0\nhey\nstatus=0\n' Got 'hi\nstatus=0\nhi\nstatus=0\nhi\nstatus=0\nhi\nstatus=0\nhi\nstatus=0\nhi\nstatus=0\n' stdout: hi status=0 hi status=0 hi status=0 hi status=0 hi status=0 hi status=0stderr: |
| osh-cpp | 2 Changing PATH will invalidate PATH cache [osh-cpp stdout] Expected 'hi\nstatus=0\nhey\nstatus=0\nhi\nstatus=0\nhey\nstatus=0\nhi\nstatus=0\nhey\nstatus=0\n' Got 'hi\nstatus=0\nhi\nstatus=0\nhi\nstatus=0\nhi\nstatus=0\nhi\nstatus=0\nhi\nstatus=0\n' stdout: hi status=0 hi status=0 hi status=0 hi status=0 hi status=0 hi status=0stderr: |