Results for var-sub.test.sh

statusdashbashmkshosh
pass 5557
ok 2220
total7777
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
4pass ok pass pass Filename redirect with split word
details
5ok pass pass pass Descriptor redirect to bad "$@"
details
6pass pass ok pass Here doc with bad "$@" delimiter
details
22 passed, 6 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: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: ${a|}: bad substitution
mksh0 Bad var sub

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

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

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

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

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