| status | osh | osh-cpp | |
| pass | 3 | 3 | |
| FAIL | 6 | 6 | |
| total | 9 | 9 | |
| 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 | FAIL | FAIL | test builtin - Unexpected trailing word '--' (#2409) |
| details | details | ||
| 4 | FAIL | FAIL | set -u failure in eval doesn't exit the parent process |
| details | details | ||
| 5 | FAIL | FAIL | set -u nested evals |
| details | details | ||
| 6 | pass | pass | set -u no eval |
| 7 | pass | pass | exit under eval should exit the parent process |
| 8 | pass | pass | builtin cat crashes a subshell (#2530) |
6 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 6 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: |
| osh | 3 test builtin - Unexpected trailing word '--' (#2409) [osh stdout] Expected 'status=0\nstatus=0\nstatus=0\nstatus=0\nstatus=0\n' Got 'status=2\nstatus=2\nstatus=2\nstatus=2\nstatus=0\n' stdout: status=2 status=2 status=2 status=2 status=0stderr: set -- -o; test $# -ne 0 -a "$1" != "--"
^
[ stdin ]:1: (test) Unexpected trailing word '--'
test $# -ne 0 -a "-o" != "--"
^
[ stdin ]:4: (test) Unexpected trailing word '--'
test $# -ne 0 -a -o != "--"
^
[ stdin ]:7: (test) Unexpected trailing word '--'
set -- -z; test $# -ne 0 -a "$1" != "--"
^
[ stdin ]:10: (test) Unexpected trailing word '--'
|
| osh-cpp | 3 test builtin - Unexpected trailing word '--' (#2409) [osh-cpp stdout] Expected 'status=0\nstatus=0\nstatus=0\nstatus=0\nstatus=0\n' Got 'status=2\nstatus=2\nstatus=2\nstatus=2\nstatus=0\n' stdout: status=2 status=2 status=2 status=2 status=0stderr: set -- -o; test $# -ne 0 -a "$1" != "--"
^
[ stdin ]:1: (test) Unexpected trailing word '--'
test $# -ne 0 -a "-o" != "--"
^
[ stdin ]:4: (test) Unexpected trailing word '--'
test $# -ne 0 -a -o != "--"
^
[ stdin ]:7: (test) Unexpected trailing word '--'
set -- -z; test $# -ne 0 -a "$1" != "--"
^
[ stdin ]:10: (test) Unexpected trailing word '--'
|
| osh | 4 set -u failure in eval doesn't exit the parent process [osh stdout] Expected 'before\n' Got 'before\nafter\n' [osh status] Expected 1 Got 0 stdout: before afterstderr: x=$1
^~
[ stdin ]:3: fatal: Undefined variable '1'
|
| osh-cpp | 4 set -u failure in eval doesn't exit the parent process [osh-cpp stdout] Expected 'before\n' Got 'before\nafter\n' [osh-cpp status] Expected 1 Got 0 stdout: before afterstderr: x=$1
^~
[ stdin ]:3: fatal: Undefined variable '1'
|
| osh | 5 set -u nested evals [osh stdout] Expected 'before\n' Got 'before\nafter\n' [osh status] Expected 1 Got 0 stdout: before afterstderr: x=$blarg
^~~~~~
[ stdin ]:3: fatal: Undefined variable 'blarg'
|
| osh-cpp | 5 set -u nested evals [osh-cpp stdout] Expected 'before\n' Got 'before\nafter\n' [osh-cpp status] Expected 1 Got 0 stdout: before afterstderr: x=$blarg
^~~~~~
[ stdin ]:3: fatal: Undefined variable 'blarg'
|