Results for divergence.test.sh

statusoshosh-cpp
pass 11
FAIL 44
total55
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 builtin cat crashes a subshell (#2530)
4FAIL FAIL '--' arg should stop the procesing in optargs (#2579)
detailsdetails
2 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped
4 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:
osh4 '--' arg should stop the procesing in optargs (#2579)

[osh stdout] Expected '2\n3\n' Got 'shouldnt reach here\n-c passed\n4\n3\n'

stdout:
shouldnt reach here
-c passed
4
3
stderr:
osh-cpp4 '--' arg should stop the procesing in optargs (#2579)

[osh-cpp stdout] Expected '2\n3\n' Got 'shouldnt reach here\n-c passed\n4\n3\n'

stdout:
shouldnt reach here
-c passed
4
3
stderr: