spec test index / oilshell.org
| status | osh | |
| pass | 5 | |
| FAIL | 1 | |
| total | 6 | |
| case | osh | description |
| 0 | pass | extglob |
| 1 | pass | split command sub @() in expression mode |
| 2 | pass | split command sub @() in command mode |
| 3 | pass | Idiomatic for loop using @(seq $n) |
| 4 | FAIL | @() can't start in the middle of the word |
| details | ||
| 5 | pass | @() can't have any tokens after it |
5 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
| osh | 4 @() can't start in the middle of the word [osh stdout] Expected 'f@(*.py)\n', got '' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/travis/build/oilshell/oil/bin/oil.py", line 358, in <module>
sys.exit(main(sys.argv))
File "/home/travis/build/oilshell/oil/bin/oil.py", line 301, in main
return AppBundleMain(argv)
File "/home/travis/build/oilshell/oil/bin/oil.py", line 261, in AppBundleMain
loader, line_input)
File "/home/travis/build/oilshell/oil/core/shell.py", line 675, in Main
cmd_flags=cmd_eval.IsMainProgram)
File "/home/travis/build/oilshell/oil/core/main_loop.py", line 324, in Batch
is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch
status = self._Execute(node)
File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute
status, check_errexit = self._Dispatch(node, pipeline_st)
File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 599, in _Dispatch
cmd_val = self.word_ev.EvalWordSequence2(words, allow_assign=True)
File "/home/travis/build/oilshell/oil/osh/word_eval.py", line 2040, in EvalWordSequence2
return self.SimpleEvalWordSequence2(words, allow_assign)
File "/home/travis/build/oilshell/oil/osh/word_eval.py", line 2009, in SimpleEvalWordSequence2
frames = _MakeWordFrames(part_vals)
File "/home/travis/build/oilshell/oil/osh/word_eval.py", line 238, in _MakeWordFrames
raise AssertionError()
AssertionError
|