Results for var-ref.test.sh

casebashmkshdescription
0pass pass pass array by reference
1pass BUG pass assoc array by reference
details
2pass BUG pass local array by reference, relying on DYNAMIC SCOPING
details
3pass BUG Var ref with ${!a}
details
4pass BUG Bad var ref with ${!a}
details
5pass pass Nested ${}

8 passed, 0 ok, 0 known unimplemented, 4 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

mksh1 pass assoc array by reference

stdout:
[monday]=eggs
stderr:
mksh2 pass local array by reference, relying on DYNAMIC SCOPING

stdout:
stderr: 
/bin/mksh: <stdin>[7]: syntax error: '(' unexpected
mksh3 Var ref with ${!a}

stdout:
ref a
stderr:
mksh4 Bad var ref with ${!a}

stdout:
ref a
stderr: