Results for arith-context.test.sh

casebashmkshzshoshosh_ALTosh-byterundescription
0pass pass N-I pass pass pass Multiple right brackets inside expression
details
1pass pass pass pass pass pass Slicing of string with constants
2pass pass pass pass pass pass Slicing of string with variables
3pass pass ok pass pass pass Array index on LHS of assignment
details
4pass pass BUG FAIL FAIL FAIL Array index on LHS with spaces
detailsdetailsdetailsdetails
5pass pass ok pass pass pass Array index on LHS with indices
details
6pass BUG BUG pass pass pass Slicing of string with expressions
detailsdetails
7pass BUG BUG pass pass pass Ambiguous colon in slice
detailsdetails
8pass pass pass pass pass pass Triple parens should be disambiguated
9pass pass pass pass pass pass Quadruple parens should be disambiguated
10pass N-I pass pass pass pass Alternative $[] syntax
details

54 passed, 2 ok, 2 known unimplemented, 5 known bugs, 1 failed, 0 skipped

Details on runs that didn't PASS

zsh0 Multiple right brackets inside expression

stdout:
stderr: 
zsh3 Array index on LHS of assignment

stdout:
X 2 3
stderr:
zsh4 Array index on LHS with spaces

stdout:
stderr: 
zsh: bad pattern: a[zero
osh4 Array index on LHS with spaces

[osh stdout] Expected '1 X 3\n', got '1 2 3\n'

stdout:
1 2 3
stderr:
osh error: 'a[zero': No such file or directory
osh_ALT4 Array index on LHS with spaces

[osh_ALT stdout] Expected '1 X 3\n', got '1 2 3\n'

stdout:
1 2 3
stderr:
osh error: 'a[zero': No such file or directory
osh-byterun4 Array index on LHS with spaces

[osh-byterun stdout] Expected '1 X 3\n', got '1 2 3\n'

stdout:
1 2 3
stderr:
osh error: 'a[zero': No such file or directory
zsh5 Array index on LHS with indices

stdout:
X 2 3
stderr:
mksh6 Slicing of string with expressions

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[3]: ${s:zero}: bad substitution
zsh6 Slicing of string with expressions

stdout:
stderr: 
zsh: unrecognized modifier `z'
mksh7 Ambiguous colon in slice

stdout:
2
stderr:
_tmp/spec-bin/mksh: <stdin>[3]: ${s: 0 < 1 ? 2 : 0 : 1}: bad substitution
zsh7 Ambiguous colon in slice

stdout:
2
stderr:
zsh: bad math expression: ':' expected
mksh10 Alternative $[] syntax

stdout:
$[1 + 2] $[3 * 4]
stderr: