Results for divergence.test.sh

statusbashdashmkshzshashosh
pass 965663
ok 030030
N-I 001100
BUG 003200
FAIL 000006
total999999
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 FAIL test builtin - Unexpected trailing word '--' (#2409)
details
4pass ok BUG BUG ok FAIL set -u failure in eval doesn't exit the parent process
detailsdetailsdetailsdetailsdetails
5pass ok BUG BUG ok FAIL set -u nested evals
detailsdetailsdetailsdetailsdetails
6pass ok pass pass ok pass set -u no eval
detailsdetails
7pass pass pass pass pass pass exit under eval should exit the parent process
8pass pass pass pass pass pass builtin cat crashes a subshell (#2530)
35 passed, 6 OK, 2 not implemented, 5 BUG, 6 failed, 0 timeouts, 0 cases skipped
6 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:
osh3 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=0
stderr:
  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 '--'
dash4 set -u failure in eval doesn't exit the parent process

stdout:
before
stderr:
dash: 3: eval: 1: parameter not set
mksh4 set -u failure in eval doesn't exit the parent process

stdout:
before
after
stderr:
mksh: 1: parameter not set
zsh4 set -u failure in eval doesn't exit the parent process

stdout:
before
after
stderr:
test_function:1: 1: parameter not set
ash4 set -u failure in eval doesn't exit the parent process

stdout:
before
stderr:
ash: eval: line 3: 1: parameter not set
osh4 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
after
stderr:
      x=$1
        ^~
[ stdin ]:3: fatal: Undefined variable '1'
dash5 set -u nested evals

stdout:
before
stderr:
dash: 3: eval: blarg: parameter not set
mksh5 set -u nested evals

stdout:
before
after
stderr:
mksh: blarg: parameter not set
zsh5 set -u nested evals

stdout:
before
after
stderr:
test_function_2:1: blarg: parameter not set
ash5 set -u nested evals

stdout:
before
stderr:
ash: eval: line 3: blarg: parameter not set
osh5 set -u nested evals

[osh stdout] Expected 'before\n' Got 'before\nafter\n'
[osh status] Expected 1 Got 0

stdout:
before
after
stderr:
      x=$blarg
        ^~~~~~
[ stdin ]:3: fatal: Undefined variable 'blarg'
dash6 set -u no eval

stdout:
before
stderr:
dash: 4: blarg: parameter not set
ash6 set -u no eval

stdout:
before
stderr:
ash: blarg: parameter not set