posix () { sh-spec spec/posix.test.sh ${REF_SHELLS[@]} $OSH_LIST "$@" } posix: spec test case results

Results for posix.test.sh

statusdashbashmkshosh
pass 15151315
ok 0020
total15151515
casedashbashmkshoshdescription
0pass pass pass pass Empty for loop is allowed
1pass pass pass pass Empty for loop without in. Do can be on the same line I guess.
2pass pass pass pass Empty case statement
3pass pass pass pass Last case without ;;
4pass pass pass pass Only case without ;;
5pass pass pass pass Case with optional (
6pass pass ok pass Empty action for case is syntax error
details
7pass pass pass pass Empty action is allowed for last case
8pass pass pass pass Case with | pattern
9pass pass ok pass Bare semi-colon not allowed
details
10pass pass pass pass Command substitution in default
11pass pass pass pass Arithmetic expansion
12pass pass pass pass Newlines in compound lists
13pass pass pass pass Multiple here docs on one line
14pass pass pass pass cat here doc; echo; cat here doc
58 passed, 2 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

mksh6 Empty action for case is syntax error

stdout:
stderr: 
mksh: <stdin>[4]: syntax error: ')' unexpected
mksh9 Bare semi-colon not allowed

stdout:
stderr: 
mksh: <stdin>[1]: syntax error: ';' unexpected