Results for var-sub.test.sh

statusdashbashmkshosh
pass 4546
ok 2120
total6666
casedashbashmkshoshdescription
0pass ok ok pass Bad var sub
detailsdetails
1pass pass pass pass Braced block inside ${}
2pass pass pass pass Nested ${}
3ok pass pass pass Filename redirect with "$@"
details
4ok pass pass pass Descriptor redirect to bad "$@"
details
5pass pass ok pass Here doc with bad "$@" delimiter
details
19 passed, 5 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

bash0 Bad var sub

stdout:
stderr: 
bash: line 1: ${a&}: bad substitution
mksh0 Bad var sub

stdout:
stderr: 
mksh: <stdin>[1]: ${a&}: bad substitution
dash3 Filename redirect with "$@"

stdout:
stderr: 
dash: 2: cannot create _tmp/var-sub1 _tmp/var-sub2: Directory nonexistent
dash4 Descriptor redirect to bad "$@"

stdout:
stderr: 
dash: 3: Syntax error: Bad fd number
mksh5 Here doc with bad "$@" delimiter

stdout:
stderr: 
mksh: <stdin>[7]: here document '$@' unclosed