spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 8 | 0 | 0 | |
FAIL | 0 | 8 | 8 | |
total | 8 | 8 | 8 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | FAIL | FAIL | Evaluation of constant parts |
details | details | |||
1 | pass | FAIL | FAIL | Evaluation of each part |
details | details | |||
2 | pass | FAIL | FAIL | Word splitting |
details | details | |||
3 | pass | FAIL | FAIL | Word joining |
details | details | |||
4 | pass | FAIL | FAIL | Word elision |
details | details | |||
5 | pass | FAIL | FAIL | Default values -- more cases |
details | details | |||
6 | pass | FAIL | FAIL | Globbing after splitting |
details | details | |||
7 | pass | FAIL | FAIL | Globbing escaping |
details | details |
8 passed, 0 OK, 0 not implemented, 0 BUG, 16 failed, 0 timeouts, 0 cases skipped
osh_.py | 0 Evaluation of constant parts [osh_.py stdout] Expected "['bare', 'sq']\n", got '(cmd_value.Argv argv:[argv.py bare sq] arg_spids:[0 2 4])\n' stdout: (cmd_value.Argv argv:[argv.py bare sq] arg_spids:[0 2 4])stderr: Unhandled SimpleCommand |
osh_.cc | 0 Evaluation of constant parts [osh_.cc stdout] Expected "['bare', 'sq']\n", got '(cmd_value.Argv argv:[argv.py bare sq] arg_spids:[0 2 4])\n' stdout: (cmd_value.Argv argv:[argv.py bare sq] arg_spids:[0 2 4])stderr: Unhandled SimpleCommand |
osh_.py | 1 Evaluation of each part [osh_.py stdout] Expected "['bare', 'sq', '/home/bob', 's', '-s-', 'a1', 'a2', '3', 'c', 'c']\n", got '' [osh_.py status] Expected 0, got 1 [osh_.py stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 341, in <module> status = main(sys.argv) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 228, in main status = main_loop.Batch(cmd_ev, c_parser, arena, is_main=True) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 165, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, optimize=optimize) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1450, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1334, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 538, in _Dispatch cmd_val = self.word_ev.EvalWordSequence2(words, allow_assign=True) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1854, in EvalWordSequence2 self._EvalWordToParts(w, False, part_vals) # not double quoted File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1441, in _EvalWordToParts self._EvalWordPart(p, part_vals, quoted=quoted, is_subst=is_subst) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1318, in _EvalWordPart sv = self._EvalCommandSub(part.child, quoted) # type: part_value_t File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1945, in _EvalCommandSub stdout = self.shell_ex.RunCommandSub(node) AttributeError: 'NoneType' object has no attribute 'RunCommandSub' |
osh_.cc | 1 Evaluation of each part [osh_.cc stdout] Expected "['bare', 'sq', '/home/bob', 's', '-s-', 'a1', 'a2', '3', 'c', 'c']\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/core_passwd.h:15: Str *passwd::GetHomeDir(syntax_asdl::Token *): Assertion `0' failed. |
osh_.py | 2 Word splitting [osh_.py stdout] Expected "['1', '23', '4', '5 6']\n", got "(cmd_value.Argv argv:[argv.py 1 23 4 '5 6'] arg_spids:[15 17 17 17 20])\n" stdout: (cmd_value.Argv argv:[argv.py 1 23 4 '5 6'] arg_spids:[15 17 17 17 20])stderr: Unhandled SimpleCommand |
osh_.cc | 2 Word splitting [osh_.cc stdout] Expected "['1', '23', '4', '5 6']\n", got "(cmd_value.Argv argv:[argv.py 1 23 4 '5 6'] arg_spids:[15 17 17 17 20])\n" stdout: (cmd_value.Argv argv:[argv.py 1 23 4 '5 6'] arg_spids:[15 17 17 17 20])stderr: Unhandled SimpleCommand |
osh_.py | 3 Word joining [osh_.py stdout] Expected "['1', '2a1', 'a2_x', 'y', 'z']\n", got "(cmd_value.Argv\n argv: [argv.py 1 2a1 'a2_/home/andy/git/oilshell/oil/bin/osh_eval.py']\n arg_spids: [22 24 24 24]\n)\n" stdout: (cmd_value.Argv argv: [argv.py 1 2a1 'a2_/home/andy/git/oilshell/oil/bin/osh_eval.py'] arg_spids: [22 24 24 24] )stderr: set 5 Unhandled SimpleCommand |
osh_.cc | 3 Word joining [osh_.cc stdout] Expected "['1', '2a1', 'a2_x', 'y', 'z']\n", got "(cmd_value.Argv\n argv: [argv.py 1 2a1 'a2_/home/andy/git/oilshell/oil/_bin/osh_eval.dbg']\n arg_spids: [22 24 24 24]\n)\n" stdout: (cmd_value.Argv argv: [argv.py 1 2a1 'a2_/home/andy/git/oilshell/oil/_bin/osh_eval.dbg'] arg_spids: [22 24 24 24] )stderr: set 5 Unhandled SimpleCommand |
osh_.py | 4 Word elision [osh_.py stdout] Expected "['-', '']\n", got "(cmd_value.Argv argv:[argv.py - ''] arg_spids:[4 8 10])\n" stdout: (cmd_value.Argv argv:[argv.py - ''] arg_spids:[4 8 10])stderr: Unhandled SimpleCommand |
osh_.cc | 4 Word elision [osh_.cc stdout] Expected "['-', '']\n", got "(cmd_value.Argv argv:[argv.py - ''] arg_spids:[4 8 10])\n" stdout: (cmd_value.Argv argv:[argv.py - ''] arg_spids:[4 8 10])stderr: Unhandled SimpleCommand |
osh_.py | 5 Default values -- more cases [osh_.py stdout] Expected '[\'hi\', \'a b\', \'c d\', \'e f\', "\'g h\'"]\n', got "(cmd_value.Argv argv:[argv.py hi 'a b' 'c d' 'e f' '\\'g h\\''] arg_spids:[0 2 8 16 24 34])\n" stdout: (cmd_value.Argv argv:[argv.py hi 'a b' 'c d' 'e f' '\'g h\''] arg_spids:[0 2 8 16 24 34])stderr: Unhandled SimpleCommand |
osh_.cc | 5 Default values -- more cases [osh_.cc stdout] Expected '[\'hi\', \'a b\', \'c d\', \'e f\', "\'g h\'"]\n', got "(cmd_value.Argv argv:[argv.py hi 'a b' 'c d' 'e f' '\\'g h\\''] arg_spids:[0 2 8 16 24 34])\n" stdout: (cmd_value.Argv argv:[argv.py hi 'a b' 'c d' 'e f' '\'g h\''] arg_spids:[0 2 8 16 24 34])stderr: Unhandled SimpleCommand |
osh_.py | 6 Globbing after splitting [osh_.py stdout] Expected "['_tmp/foo.hh', '_tmp/bar.gg', '_tmp/foo.gg']\n", got "(cmd_value.Argv argv:[touch '_tmp/foo.gg' '_tmp/bar.gg' '_tmp/foo.hh'] arg_spids:[0 2 4 6])\n(cmd_value.Argv argv:[argv.py '_tmp/foo.hh' '_tmp/bar.gg' '_tmp/foo.gg'] arg_spids:[13 15 15 15])\n" stdout: (cmd_value.Argv argv:[touch '_tmp/foo.gg' '_tmp/bar.gg' '_tmp/foo.hh'] arg_spids:[0 2 4 6]) (cmd_value.Argv argv:[argv.py '_tmp/foo.hh' '_tmp/bar.gg' '_tmp/foo.gg'] arg_spids:[13 15 15 15])stderr: Unhandled SimpleCommand Unhandled SimpleCommand |
osh_.cc | 6 Globbing after splitting [osh_.cc stdout] Expected "['_tmp/foo.hh', '_tmp/bar.gg', '_tmp/foo.gg']\n", got "(cmd_value.Argv argv:[touch '_tmp/foo.gg' '_tmp/bar.gg' '_tmp/foo.hh'] arg_spids:[0 2 4 6])\n" [osh_.cc status] Expected 0, got -6 stdout: (cmd_value.Argv argv:[touch '_tmp/foo.gg' '_tmp/bar.gg' '_tmp/foo.hh'] arg_spids:[0 2 4 6])stderr: Unhandled SimpleCommand osh_eval.dbg: cpp/libc.h:37: List<Str *> *libc::glob(Str *): Assertion `0' failed. |
osh_.py | 7 Globbing escaping [osh_.py stdout] Expected "['_tmp/[bc]ar.mm', '-', '_tmp/bar.mm', '_tmp/car.mm']\n", got "(cmd_value.Argv argv:[touch '_tmp/[bc]ar.mm'] arg_spids:[0 2])\n(cmd_value.Argv argv:[touch '_tmp/bar.mm' '_tmp/car.mm'] arg_spids:[9 11 13])\n(cmd_value.Argv\n argv: [argv.py '_tmp/[bc]ar.mm' - '_tmp/bar.mm' '_tmp/car.mm']\n arg_spids: [15 17 23 25 25]\n)\n" stdout: (cmd_value.Argv argv:[touch '_tmp/[bc]ar.mm'] arg_spids:[0 2]) (cmd_value.Argv argv:[touch '_tmp/bar.mm' '_tmp/car.mm'] arg_spids:[9 11 13]) (cmd_value.Argv argv: [argv.py '_tmp/[bc]ar.mm' - '_tmp/bar.mm' '_tmp/car.mm'] arg_spids: [15 17 23 25 25] )stderr: Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand |
osh_.cc | 7 Globbing escaping [osh_.cc stdout] Expected "['_tmp/[bc]ar.mm', '-', '_tmp/bar.mm', '_tmp/car.mm']\n", got "(cmd_value.Argv argv:[touch '_tmp/[bc]ar.mm'] arg_spids:[0 2])\n(cmd_value.Argv argv:[touch '_tmp/bar.mm' '_tmp/car.mm'] arg_spids:[9 11 13])\n" [osh_.cc status] Expected 0, got -6 stdout: (cmd_value.Argv argv:[touch '_tmp/[bc]ar.mm'] arg_spids:[0 2]) (cmd_value.Argv argv:[touch '_tmp/bar.mm' '_tmp/car.mm'] arg_spids:[9 11 13])stderr: Unhandled SimpleCommand Unhandled SimpleCommand osh_eval.dbg: cpp/libc.h:37: List<Str *> *libc::glob(Str *): Assertion `0' failed. |