spec test index / oilshell.org
168 passed, 0 ok, 15 known unimplemented, 7 known bugs, 4 failed, 0 skipped
dash | 13 store literal globs in array then expand stdout: stderr: _tmp/spec-bin/dash: 2: Syntax error: "(" unexpected |
ash | 13 store literal globs in array then expand stdout: stderr: _tmp/spec-bin/ash: syntax error: unexpected "(" |
dash | 14 glob inside array stdout: stderr: _tmp/spec-bin/dash: 2: Syntax error: "(" unexpected |
ash | 14 glob inside array stdout: stderr: _tmp/spec-bin/ash: syntax error: unexpected "(" |
mksh | 16 glob with char class expression stdout: _tmp/*.[[:punct:]E]stderr: |
mksh | 19 : escaped stdout: _tmp/*.[[:punct:]] _tmp/*.[[:punct:]]stderr: |
bash | 20 Redirect to glob, not evaluated stdout: stderr: cat: '_tmp/*.F': No such file or directory |
dash | 25 shopt -s nullglob stdout: ['_tmp/spec-tmp/*.nonexistent'] ['_tmp/spec-tmp/*.nonexistent']stderr: _tmp/spec-bin/dash: 2: shopt: not found |
mksh | 25 shopt -s nullglob stdout: ['_tmp/spec-tmp/*.nonexistent'] ['_tmp/spec-tmp/*.nonexistent']stderr: _tmp/spec-bin/mksh: <stdin>[2]: shopt: not found |
ash | 25 shopt -s nullglob stdout: ['_tmp/spec-tmp/*.nonexistent'] ['_tmp/spec-tmp/*.nonexistent']stderr: _tmp/spec-bin/ash: shopt: not found |
dash | 26 shopt -s failglob stdout: ['*.ZZ'] ['*.ZZ'] status=0stderr: _tmp/spec-bin/dash: 2: shopt: not found |
mksh | 26 shopt -s failglob stdout: ['*.ZZ'] ['*.ZZ'] status=0stderr: _tmp/spec-bin/mksh: <stdin>[2]: shopt: not found |
ash | 26 shopt -s failglob stdout: ['*.ZZ'] ['*.ZZ'] status=0stderr: _tmp/spec-bin/ash: shopt: not found |
osh | 26 shopt -s failglob [osh stdout] Expected u"['*.ZZ']\nstatus=1\n", got "['*.ZZ']\n" [osh status] Expected 0, got 1 stdout: ['*.ZZ']stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 896, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 857, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 827, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 638, in ShellMain status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 159, in Batch is_return, is_fatal = ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1229, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1177, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 663, in _Dispatch arg_vec = self.word_ev.EvalWordSequence2(words) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1195, in EvalWordSequence2 self._EvalWordFrame(frame, strs) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1142, in _EvalWordFrame results = self.globber.Expand(a) File "/home/andy/git/oilshell/oil/osh/glob_.py", line 343, in Expand raise NotImplementedError NotImplementedError |
osh_ALT | 26 shopt -s failglob [osh_ALT stdout] Expected u"['*.ZZ']\nstatus=1\n", got "['*.ZZ']\n" [osh_ALT status] Expected 0, got 1 stdout: ['*.ZZ']stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 883, in _cpython_main_hook sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 857, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 827, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 638, in ShellMain status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 165, in Batch return status File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1229, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1177, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1118, in _Dispatch libc.print_time(real, user, sys_) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1195, in EvalWordSequence2 self._EvalWordFrame(frame, strs) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1142, in _EvalWordFrame results = self.globber.Expand(a) File "/home/andy/git/oilshell/oil/osh/glob_.py", line 343, in Expand raise NotImplementedError NotImplementedError FATAL: couldn't import from app bundle '_tmp/oil-tar-test/oil-0.7.pre1/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
dash | 27 Don't glob flags on file system with GLOBIGNORE stdout: hello zzzzzstderr: |
mksh | 27 Don't glob flags on file system with GLOBIGNORE stdout: hello zzzzzstderr: |
ash | 27 Don't glob flags on file system with GLOBIGNORE stdout: hello zzzzzstderr: |
osh | 27 Don't glob flags on file system with GLOBIGNORE [osh stdout] Expected u'-* hello zzzz?\n', got 'hello zzzzz' stdout: hello zzzzzstderr: |
osh_ALT | 27 Don't glob flags on file system with GLOBIGNORE [osh_ALT stdout] Expected u'-* hello zzzz?\n', got '' [osh_ALT status] Expected 0, got 99 stdout: stderr: |
dash | 28 Splitting/Globbing doesn't happen on local assignment stdout: stderr: _tmp/spec-bin/dash: 2: local: INSTALL.txt: bad variable name |
dash | 30 Glob of negated unescaped [[] and []] stdout: _[^[z] _[^]z] _[^[z] _[^]z]stderr: |
mksh | 30 Glob of negated unescaped [[] and []] stdout: _[^[z] _[^]z] _[^[z] _[^]z]stderr: |
dash | 31 PatSub of unescaped [[] and []] stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
osh | 31 PatSub of unescaped [[] and []] [osh stdout] Expected '<foo]\n[foo>\n<foo]\n[foo>\n', got '<foo]\n[foo]\n[foo]\n[foo>\n' stdout: <foo] [foo] [foo] [foo>stderr: |
osh_ALT | 31 PatSub of unescaped [[] and []] [osh_ALT stdout] Expected '<foo]\n[foo>\n<foo]\n[foo>\n', got '<foo]\n[foo]\n[foo]\n[foo>\n' stdout: <foo] [foo] [foo] [foo>stderr: |
dash | 32 PatSub of negated unescaped [[] and []] stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
mksh | 32 PatSub of negated unescaped [[] and []] stdout: <foo] [foo> <foo]stderr: |
osh | 32 PatSub of negated unescaped [[] and []] [osh stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[<<<<\n[foo]\n' [osh status] Expected 0, got 1 stdout: [<<<< [foo]stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 896, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 857, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 827, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 638, in ShellMain status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 159, in Batch is_return, is_fatal = ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1229, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1177, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 663, in _Dispatch arg_vec = self.word_ev.EvalWordSequence2(words) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1174, in EvalWordSequence2 self._EvalWordToParts(w, False, part_vals) # not double quoted File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 950, in _EvalWordToParts self._EvalWordPart(p, part_vals, quoted=quoted, is_subst=is_subst) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 914, in _EvalWordPart self._EvalBracedVarSub(part, part_vals, quoted) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 762, in _EvalBracedVarSub regex, warnings = glob_.GlobToERE(pat_val.s) File "/home/andy/git/oilshell/oil/osh/glob_.py", line 295, in GlobToERE regex = _GenerateERE(parts) File "/home/andy/git/oilshell/oil/osh/glob_.py", line 252, in _GenerateERE raise AssertionError(part.id) AssertionError: <Id_t Glob_Caret 246> |
osh_ALT | 32 PatSub of negated unescaped [[] and []] [osh_ALT stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[<<<<\n[foo]\n' [osh_ALT status] Expected 0, got 1 stdout: [<<<< [foo]stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 883, in _cpython_main_hook sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 857, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 827, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 638, in ShellMain status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 165, in Batch return status File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1229, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1177, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1118, in _Dispatch libc.print_time(real, user, sys_) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1174, in EvalWordSequence2 self._EvalWordToParts(w, False, part_vals) # not double quoted File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 950, in _EvalWordToParts self._EvalWordPart(p, part_vals, quoted=quoted, is_subst=is_subst) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 914, in _EvalWordPart self._EvalBracedVarSub(part, part_vals, quoted) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 816, in _EvalBracedVarSub raise NotImplementedError File "/home/andy/git/oilshell/oil/osh/glob_.py", line 295, in GlobToERE regex = _GenerateERE(parts) File "/home/andy/git/oilshell/oil/osh/glob_.py", line 256, in _GenerateERE out.append('.') AssertionError: <Id_t Glob_Caret 246> FATAL: couldn't import from app bundle '_tmp/oil-tar-test/oil-0.7.pre1/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |