Results for divergence.test.sh

statusoshosh-cpp
pass 88
FAIL 33
total1111
caseoshosh-cppdescription
0FAIL FAIL xz package: dirprefix="${line##*([}"
detailsdetails
1FAIL FAIL !( as negation and subshell versus extended glob - #2463
detailsdetails
2FAIL FAIL Changing PATH will invalidate PATH cache
detailsdetails
3pass pass test builtin - Unexpected trailing word '--' (#2409)
4pass pass builtin cat crashes a subshell (#2530)
5pass pass test builtin: ( = ) is confusing: equality test or non-empty string test
6pass pass test builtin: ( == ) is confusing: equality test or non-empty string test
7pass pass Allowed: [[ = ]] and [[ == ]]
8pass pass Not allowed: [[ ) ]] and [[ ( ]]
9pass pass [ -f = ] and [ -f == ]
10pass 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

Details on runs that didn't PASS

osh0 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-cpp0 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
osh1 !( as negation and subshell versus extended glob - #2463

[osh stdout] Expected 'one\ntwo\n' Got 'two\n'

stdout:
two
stderr:
  if !($have_icu_uc && $have_icu_i18n); then
     ^~
[ stdin ]:4: Command '!(false && false)' not found (OILS-ERR-100)
osh-cpp1 !( as negation and subshell versus extended glob - #2463

[osh-cpp stdout] Expected 'one\ntwo\n' Got 'two\n'

stdout:
two
stderr:
  if !($have_icu_uc && $have_icu_i18n); then
     ^~
[ stdin ]:4: Command '!(false && false)' not found (OILS-ERR-100)
osh2 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=0
stderr:
osh-cpp2 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=0
stderr: