Results for assign-deferred.test.sh

statusbashmksh
pass 86
ok 02
N-I 10
BUG 01
total99
casebashmkshdescription
0pass pass typeset a[3]=4
1pass pass typeset -a a[1]=a a[3]=c
2pass pass local a[3]=4
3N-I pass readonly a[7]=8
details
4pass BUG export a[7]=8
details
5pass pass 'builtin' prefix is allowed on assignments
6pass pass 'command' prefix is allowed on assignments
7pass ok 'builtin' prefix and array is a parse error
details
8pass ok 'command' prefix and array is a parse error
details
14 passed, 2 OK, 1 not implemented, 1 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

bash3 readonly a[7]=8

stdout:
status=1
[]
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: readonly: `b[7]': not a valid identifier
mksh4 export a[7]=8

stdout:
status=0
['7', '8']
None
stderr:
mksh7 'builtin' prefix and array is a parse error

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unexpected
mksh8 'command' prefix and array is a parse error

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unexpected