Results for divergence.test.sh

statusbashdashmkshzshashosh
pass 11985118
ok 001100
N-I 011100
BUG-2 000100
BUG 011300
FAIL 000003
total111111111111
casebashdashmkshzshashoshdescription
0pass pass N-I N-I pass FAIL xz package: dirprefix="${line##*([}"
detailsdetailsdetails
1pass pass BUG pass pass FAIL !( as negation and subshell versus extended glob - #2463
detailsdetails
2pass pass pass pass pass FAIL Changing PATH will invalidate PATH cache
details
3pass pass pass pass pass pass test builtin - Unexpected trailing word '--' (#2409)
4pass pass pass pass pass pass builtin cat crashes a subshell (#2530)
5pass pass pass BUG pass pass test builtin: ( = ) is confusing: equality test or non-empty string test
details
6pass BUG pass BUG-2 pass pass test builtin: ( == ) is confusing: equality test or non-empty string test
detailsdetails
7pass N-I pass BUG pass pass Allowed: [[ = ]] and [[ == ]]
detailsdetails
8pass pass ok ok pass pass Not allowed: [[ ) ]] and [[ ( ]]
detailsdetails
9pass pass pass BUG pass pass [ -f = ] and [ -f == ]
details
10pass pass pass pass pass pass test builtin: ( x ) behavior is the same in both cases
52 passed, 2 OK, 3 not implemented, 6 BUG, 3 failed, 0 timeouts, 0 cases skipped
3 failed under osh

Details on runs that didn't PASS

mksh0 xz package: dirprefix="${line##*([}"

stdout:
stderr: 
mksh: <stdin>[1]: shopt: not found
mksh: <stdin>[11]: no closing quote
zsh0 xz package: dirprefix="${line##*([}"

stdout:
stderr: 
zsh: command not found: shopt
zsh: bad pattern: *([
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
mksh1 !( as negation and subshell versus extended glob - #2463

stdout:
two
stderr:
mksh: <stdin>[6]: !(false && false): not found
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)
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:
zsh5 test builtin: ( = ) is confusing: equality test or non-empty string test

stdout:
status=0
status=1
stderr:
dash6 test builtin: ( == ) is confusing: equality test or non-empty string test

stdout:
status=0
status=0
stderr:
zsh6 test builtin: ( == ) is confusing: equality test or non-empty string test

stdout:
stderr: 
zsh: = not found
dash7 Allowed: [[ = ]] and [[ == ]]

stdout:
status=127
status=127
stderr:
dash: 1: [[: not found
dash: 3: [[: not found
zsh7 Allowed: [[ = ]] and [[ == ]]

stdout:
status=0
stderr:
zsh: = not found
mksh8 Not allowed: [[ ) ]] and [[ ( ]]

stdout:
stderr: 
mksh: <stdin>[1]: syntax error: ')' expression expected
zsh8 Not allowed: [[ ) ]] and [[ ( ]]

stdout:
status=1
stderr:
zsh: parse error near `)'
zsh: parse error near `echo'
zsh9 [ -f = ] and [ -f == ]

stdout:
status=1
stderr:
zsh: = not found