spec test index / oilshell.org
status | oil | oil_ALT | |
FAIL | 6 | 6 | |
total | 6 | 6 | |
case | oil | oil_ALT | description |
0 | FAIL | FAIL | Shell Append += with Oil Values (issue #840) |
details | details | ||
1 | FAIL | FAIL | Shell ${x:-default} with Oil values (issue #954) |
details | details | ||
2 | FAIL | FAIL | Shell ${a[0]} with Oil values (issue #1092) |
details | details | ||
3 | FAIL | FAIL | Splice nested List |
details | details | ||
4 | FAIL | FAIL | Splice nested Dict |
details | details | ||
5 | FAIL | FAIL | Concatenate shell arrays and ${#a} |
details | details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 6 failed under osh
oil | 0 Shell Append += with Oil Values (issue #840) [oil stdout] Expected '', got 'g=2\n' [oil status] Expected 0, got 2 stdout: g=2stderr: g+=1 ^~~ [ stdin ]:5: Use const or var/setvar to assign in Oil (parse_sh_assign) |
oil_ALT | 0 Shell Append += with Oil Values (issue #840) [oil_ALT stdout] Expected '', got 'g=2\n' [oil_ALT status] Expected 0, got 2 stdout: g=2stderr: g+=1 ^~~ [ stdin ]:5: Use const or var/setvar to assign in Oil (parse_sh_assign) |
oil | 1 Shell ${x:-default} with Oil values (issue #954) [oil status] Expected 0, got 1 [oil stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 224, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 143, in AppBundleMain return shell.Main('oil', arg_r, environ, login_shell, loader, readline) File "/home/andy/git/oilshell/oil/core/shell.py", line 830, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 347, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1709, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1533, in _Execute status = self._Dispatch(node, cmd_st) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 696, in _Dispatch cmd_val = self.word_ev.EvalWordSequence2(words, allow_assign=True) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 2094, in EvalWordSequence2 return self.SimpleEvalWordSequence2(words, allow_assign) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 2054, in SimpleEvalWordSequence2 self._EvalWordToParts(w, part_vals, 0) # not quoted File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1655, in _EvalWordToParts self._EvalWordPart(p, word_part_vals, eval_flags) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1549, in _EvalWordPart self._EvalBracedVarSub(part, part_vals, quoted) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1300, in _EvalBracedVarSub part.token): File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 583, in _ApplyTestOp raise NotImplementedError(val.tag()) NotImplementedError: 12 |
oil_ALT | 1 Shell ${x:-default} with Oil values (issue #954) [oil_ALT status] Expected 0, got 1 [oil_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 32, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 143, in AppBundleMain return shell.Main('oil', arg_r, environ, login_shell, loader, readline) File "/home/andy/git/oilshell/oil/core/shell.py", line 830, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 355, in Batch return status File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1709, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1533, in _Execute status = self._Dispatch(node, cmd_st) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 765, in _Dispatch status = self._Execute(node.child) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 2094, in EvalWordSequence2 return self.SimpleEvalWordSequence2(words, allow_assign) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 2054, in SimpleEvalWordSequence2 self._EvalWordToParts(w, part_vals, 0) # not quoted File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1655, in _EvalWordToParts self._EvalWordPart(p, word_part_vals, eval_flags) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1549, in _EvalWordPart self._EvalBracedVarSub(part, part_vals, quoted) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1300, in _EvalBracedVarSub part.token): File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 650, in _ApplyTestOp return False NotImplementedError: 12 FATAL: couldn't import from app bundle '/home/andy/git/oilshell/oil/_tmp/oil-tar-test/oil-0.15.0/_bin/oil' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
oil | 2 Shell ${a[0]} with Oil values (issue #1092) [oil status] Expected 0, got 2 stdout: stderr: echo first ${a[0]} ^ [ stdin ]:2: POSIX shell arithmetic isn't allowed (parse_sh_arith) |
oil_ALT | 2 Shell ${a[0]} with Oil values (issue #1092) [oil_ALT status] Expected 0, got 2 stdout: stderr: echo first ${a[0]} ^ [ stdin ]:2: POSIX shell arithmetic isn't allowed (parse_sh_arith) |
oil | 3 Splice nested List [oil status] Expected 0, got 3 stdout: stderr: @mylist ^~~~~~~ [ stdin ]:3: fatal: Expected string-like value (Bool, Int, Str), but got <class 'pylib.collections_.OrderedDict'> |
oil_ALT | 3 Splice nested List [oil_ALT status] Expected 0, got 3 stdout: stderr: @mylist ^~~~~~~ [ stdin ]:3: fatal: Expected string-like value (Bool, Int, Str), but got <class 'pylib.collections_.OrderedDict'> |
oil | 4 Splice nested Dict [oil status] Expected 0, got 1 [oil stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 224, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 143, in AppBundleMain return shell.Main('oil', arg_r, environ, login_shell, loader, readline) File "/home/andy/git/oilshell/oil/core/shell.py", line 830, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 347, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1709, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1533, in _Execute status = self._Dispatch(node, cmd_st) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 696, in _Dispatch cmd_val = self.word_ev.EvalWordSequence2(words, allow_assign=True) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 2094, in EvalWordSequence2 return self.SimpleEvalWordSequence2(words, allow_assign) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 2076, in SimpleEvalWordSequence2 strs.append(''.join(tmp)) # no split or glob TypeError: sequence item 0: expected string, list found |
oil_ALT | 4 Splice nested Dict [oil_ALT status] Expected 0, got 1 [oil_ALT stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 32, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 143, in AppBundleMain return shell.Main('oil', arg_r, environ, login_shell, loader, readline) File "/home/andy/git/oilshell/oil/core/shell.py", line 830, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 355, in Batch return status File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1709, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1533, in _Execute status = self._Dispatch(node, cmd_st) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 765, in _Dispatch status = self._Execute(node.child) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 2094, in EvalWordSequence2 return self.SimpleEvalWordSequence2(words, allow_assign) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 2076, in SimpleEvalWordSequence2 strs.append(''.join(tmp)) # no split or glob TypeError: sequence item 0: expected string, list found FATAL: couldn't import from app bundle '/home/andy/git/oilshell/oil/_tmp/oil-tar-test/oil-0.15.0/_bin/oil' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
oil | 5 Concatenate shell arrays and ${#a} [oil stdout] Expected '', got "len a 1\nlen b 1\na = (Cell exported:F readonly:F nameref:F val:(value.MaybeStrArray strs:[a]))\nc = (Cell exported:F readonly:F nameref:F val:(value.Obj obj:['a', 'b']))\n" [oil status] Expected 0, got 1 [oil stderr] Found 'Traceback (most recent' stdout: len a 1 len b 1 a = (Cell exported:F readonly:F nameref:F val:(value.MaybeStrArray strs:[a])) c = (Cell exported:F readonly:F nameref:F val:(value.Obj obj:['a', 'b']))stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 224, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 143, in AppBundleMain return shell.Main('oil', arg_r, environ, login_shell, loader, readline) File "/home/andy/git/oilshell/oil/core/shell.py", line 830, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 347, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1709, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1533, in _Execute status = self._Dispatch(node, cmd_st) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 696, in _Dispatch cmd_val = self.word_ev.EvalWordSequence2(words, allow_assign=True) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 2094, in EvalWordSequence2 return self.SimpleEvalWordSequence2(words, allow_assign) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 2054, in SimpleEvalWordSequence2 self._EvalWordToParts(w, part_vals, 0) # not quoted File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1655, in _EvalWordToParts self._EvalWordPart(p, word_part_vals, eval_flags) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1549, in _EvalWordPart self._EvalBracedVarSub(part, part_vals, quoted) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1250, in _EvalBracedVarSub val = self._Length(val, part.token) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 697, in _Length raise AssertionError() AssertionError |
oil_ALT | 5 Concatenate shell arrays and ${#a} [oil_ALT stdout] Expected '', got "len a 1\nlen b 1\na = (Cell exported:F readonly:F nameref:F val:(value.MaybeStrArray strs:[a]))\nc = (Cell exported:F readonly:F nameref:F val:(value.Obj obj:['a', 'b']))\n" [oil_ALT status] Expected 0, got 1 [oil_ALT stderr] Found 'Traceback (most recent' stdout: len a 1 len b 1 a = (Cell exported:F readonly:F nameref:F val:(value.MaybeStrArray strs:[a])) c = (Cell exported:F readonly:F nameref:F val:(value.Obj obj:['a', 'b']))stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 32, in _cpython_main_hook sys.exit(oils_for_unix.main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 143, in AppBundleMain return shell.Main('oil', arg_r, environ, login_shell, loader, readline) File "/home/andy/git/oilshell/oil/core/shell.py", line 830, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 355, in Batch return status File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1709, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1533, in _Execute status = self._Dispatch(node, cmd_st) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 765, in _Dispatch status = self._Execute(node.child) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 2094, in EvalWordSequence2 return self.SimpleEvalWordSequence2(words, allow_assign) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 2054, in SimpleEvalWordSequence2 self._EvalWordToParts(w, part_vals, 0) # not quoted File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1655, in _EvalWordToParts self._EvalWordPart(p, word_part_vals, eval_flags) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1549, in _EvalWordPart self._EvalBracedVarSub(part, part_vals, quoted) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1285, in _EvalBracedVarSub val = self._EmptyStrOrError(val, part.token) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 697, in _Length raise AssertionError() AssertionError FATAL: couldn't import from app bundle '/home/andy/git/oilshell/oil/_tmp/oil-tar-test/oil-0.15.0/_bin/oil' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |