assign-dialects () { run-file assign-dialects "$@" } run-file () { local spec_name=$1; shift; sh-spec spec/$spec_name.test.sh --compare-shells --oils-bin-dir $PWD/bin "$@" } assign-dialects: spec test case results

Results for assign-dialects.test.sh

statusbashmkshosh
pass 111
N-I 010
BUG 100
FAIL 001
total222
casebashmkshoshdescription
0pass pass pass K and V are variables in (( array[K] = V ))
1BUG N-I FAIL when are variables set with 'test -v'
detailsdetailsdetails
3 passed, 0 OK, 1 not implemented, 1 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

bash1 when are variables set with 'test -v'

stdout:
unset=1
a=1
A=1
a=0
A=1
stderr:
mksh1 when are variables set with 'test -v'

stdout:
unset=2
a=2
A=2
a=2
A=2
stderr:
mksh: <stdin>[1]: test: unset: unexpected operator/operand
mksh: <stdin>[5]: test: a: unexpected operator/operand
mksh: <stdin>[8]: typeset: -A: unknown option
mksh: <stdin>[9]: test: A: unexpected operator/operand
mksh: <stdin>[15]: test: a: unexpected operator/operand
mksh: <stdin>[18]: test: A: unexpected operator/operand
osh1 when are variables set with 'test -v'

[osh stdout] Expected 'unset=1\na=1\nA=1\na=0\nA=0\n', got 'unset=1\na=0\nA=0\na=0\nA=0\n'

stdout:
unset=1
a=0
A=0
a=0
A=0
stderr: