Results for var-sub.test.sh

casedashbashmkshoshosh_ALTosh-byterundescription
0pass ok ok pass pass pass Bad var sub
detailsdetails
1pass pass pass pass pass pass Braced block inside ${}
2pass pass pass pass pass pass Nested ${}
3ok pass pass pass pass pass Filename redirect with "$@"
details
4pass ok pass pass pass pass Filename redirect with split word
details
5ok pass pass pass pass pass Descriptor redirect to bad "$@"
details
6pass pass ok pass pass pass Here doc with bad "$@" delimiter
details

36 passed, 6 ok, 0 known unimplemented, 0 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

bash0 Bad var sub

stdout:
stderr: 
_tmp/spec-bin/bash: line 1: ${a|}: bad substitution
mksh0 Bad var sub

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: ${a|}: bad substitution
dash3 Filename redirect with "$@"

stdout:
stderr: 
_tmp/spec-bin/dash: 2: cannot create _tmp/var-sub1 _tmp/var-sub2: Directory nonexistent
bash4 Filename redirect with split word

stdout:
stderr: 
_tmp/spec-bin/bash: line 3: $foo: ambiguous redirect
dash5 Descriptor redirect to bad "$@"

stdout:
stderr: 
_tmp/spec-bin/dash: 3: Syntax error: Bad fd number
mksh6 Here doc with bad "$@" delimiter

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[7]: here document '$@' unclosed