spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 14 | 15 | |
FAIL | 1 | 0 | |
total | 15 | 15 | |
case | osh | osh-cpp | description |
0 | FAIL | pass | Empty for loop is allowed |
details | |||
1 | pass | pass | Empty for loop without in. Do can be on the same line I guess. |
2 | pass | pass | Empty case statement |
3 | pass | pass | Last case without ;; |
4 | pass | pass | Only case without ;; |
5 | pass | pass | Case with optional ( |
6 | pass | pass | Empty action for case is syntax error |
7 | pass | pass | Empty action is allowed for last case |
8 | pass | pass | Case with | pattern |
9 | pass | pass | Bare semi-colon not allowed |
10 | pass | pass | Command substitution in default |
11 | pass | pass | Arithmetic expansion |
12 | pass | pass | Newlines in compound lists |
13 | pass | pass | Multiple here docs on one line |
14 | pass | pass | cat here doc; echo; cat here doc |
29 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 0 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: [] |