Results for arith-context.test.sh

statusbashmkshzshosh
pass 107510
ok 0020
N-I 0110
BUG 0220
total10101010
casebashmkshzshoshdescription
0pass pass N-I pass Multiple right brackets inside expression
details
1pass pass pass pass Slicing of string with constants
2pass pass pass pass Slicing of string with variables
3pass pass ok pass Array index on LHS of assignment
details
4pass pass ok pass Array index on LHS with indices
details
5pass BUG BUG pass Slicing of string with expressions
detailsdetails
6pass BUG BUG pass Ambiguous colon in slice
detailsdetails
7pass pass pass pass Triple parens should be disambiguated
8pass pass pass pass Quadruple parens should be disambiguated
9pass N-I pass pass Alternative $[] syntax
details
32 passed, 2 OK, 2 not implemented, 4 BUG, 0 failed, 0 timeouts, 0 cases 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 indices

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

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[3]: ${s:zero}: bad substitution
zsh5 Slicing of string with expressions

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

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

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

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