Results for posix.test.sh

statusdashbashmkshosh
pass 15151314
ok 0020
FAIL 0001
total15151515
casedashbashmkshoshdescription
0pass pass pass FAIL Empty for loop is allowed
details
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
57 passed, 2 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh0 Empty for loop is allowed

[osh status] Expected 0, got 1
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 198, in <module>
    sys.exit(main(sys.argv))
  File "/home/uke/oil/bin/oils_for_unix.py", line 170, in main
    return AppBundleMain(argv)
  File "/home/uke/oil/bin/oils_for_unix.py", line 140, in AppBundleMain
    return shell.Main('osh', arg_r, environ, login_shell, loader, readline)
  File "/home/uke/oil/core/shell.py", line 1125, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/uke/oil/core/main_loop.py", line 364, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/uke/oil/osh/cmd_eval.py", line 1955, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/uke/oil/osh/cmd_eval.py", line 1777, in _Execute
    status = self._Dispatch(node, cmd_st)
  File "/home/uke/oil/osh/cmd_eval.py", line 1674, in _Dispatch
    status = self._DoForEach(node)
  File "/home/uke/oil/osh/cmd_eval.py", line 1212, in _DoForEach
    assert iter_list, iter_list
AssertionError: []
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