spec test index / oilshell.org
30 passed, 1 OK, 0 not implemented, 3 BUG, 50 failed, 0 timeouts, 0 cases skipped
osh_.py | 1 case in subshell [osh_.py stdout] Expected 'letter\n', got '\n' stdout: stderr: |
osh_.cc | 1 case in subshell [osh_.cc stdout] Expected 'letter\n', got '\n' stdout: stderr: |
osh_.py | 2 Command sub word part [osh_.py stdout] Expected 'FOObarFOO\n', got 'bar\n' stdout: barstderr: |
osh_.cc | 2 Command sub word part [osh_.cc stdout] Expected 'FOObarFOO\n', got 'bar\n' stdout: barstderr: |
osh_.py | 3 Backtick [osh_.py stdout] Expected 'FOObarFOO\n', got 'bar\n' stdout: barstderr: |
osh_.cc | 3 Backtick [osh_.cc stdout] Expected 'FOObarFOO\n', got 'bar\n' stdout: barstderr: |
osh_.py | 4 Backtick 2 [osh_.py stdout] Expected 'ls\n', got '\n' stdout: stderr: |
osh_.cc | 4 Backtick 2 [osh_.cc stdout] Expected 'ls\n', got '\n' stdout: stderr: |
osh_.py | 5 Nested backticks [osh_.py stdout] Expected '000000-first\n', got 'X\n\n' stdout: Xstderr: |
osh_.cc | 5 Nested backticks [osh_.cc stdout] Expected '000000-first\n', got 'X\n\n' stdout: Xstderr: |
osh_.py | 6 Making command out of command sub should work [osh_.py stdout] Expected 'split builtin\n', got '(cmd_value.Argv argv:[split builtin] arg_spids:[11 13])\n' stdout: (cmd_value.Argv argv:[split builtin] arg_spids:[11 13])stderr: Unhandled SimpleCommand |
osh_.cc | 6 Making command out of command sub should work [osh_.cc stdout] Expected 'split builtin\n', got '(cmd_value.Argv argv:[split builtin] arg_spids:[11 13])\n' stdout: (cmd_value.Argv argv:[split builtin] arg_spids:[11 13])stderr: Unhandled SimpleCommand |
osh_.py | 8 Command sub with here doc [osh_.py stdout] Expected 'two one\n', got '\n' stdout: stderr: |
osh_.cc | 8 Command sub with here doc [osh_.cc stdout] Expected 'two one\n', got '\n' stdout: stderr: |
osh_.py | 9 Here doc with pipeline [osh_.py stdout] Expected u'twoXoneX', got '' stdout: stderr: |
osh_.cc | 9 Here doc with pipeline [osh_.cc stdout] Expected u'twoXoneX', got '' stdout: stderr: |
osh_.py | 10 Command Sub word split [osh_.py stdout] Expected "['hi', 'there', 'hi there']\n", got "(cmd_value.Argv argv:[argv.py ''] arg_spids:[0 10])\n" stdout: (cmd_value.Argv argv:[argv.py ''] arg_spids:[0 10])stderr: Unhandled SimpleCommand |
osh_.cc | 10 Command Sub word split [osh_.cc stdout] Expected "['hi', 'there', 'hi there']\n", got "(cmd_value.Argv argv:[argv.py ''] arg_spids:[0 10])\n" stdout: (cmd_value.Argv argv:[argv.py ''] arg_spids:[0 10])stderr: Unhandled SimpleCommand |
osh_.py | 11 Command Sub trailing newline removed [osh_.py stdout] Expected "['ab\\ncd']\n", got "(cmd_value.Argv argv:[argv.py ''] arg_spids:[11 13])\n" stdout: (cmd_value.Argv argv:[argv.py ''] arg_spids:[11 13])stderr: Unhandled SimpleCommand |
osh_.cc | 11 Command Sub trailing newline removed [osh_.cc stdout] Expected "['ab\\ncd']\n", got "(cmd_value.Argv argv:[argv.py ''] arg_spids:[11 13])\n" stdout: (cmd_value.Argv argv:[argv.py ''] arg_spids:[11 13])stderr: Unhandled SimpleCommand |
osh_.py | 12 Command Sub trailing whitespace not removed [osh_.py stdout] Expected "['ab\\ncd\\n ']\n", got "(cmd_value.Argv argv:[argv.py ''] arg_spids:[11 13])\n" stdout: (cmd_value.Argv argv:[argv.py ''] arg_spids:[11 13])stderr: Unhandled SimpleCommand |
osh_.cc | 12 Command Sub trailing whitespace not removed [osh_.cc stdout] Expected "['ab\\ncd\\n ']\n", got "(cmd_value.Argv argv:[argv.py ''] arg_spids:[11 13])\n" stdout: (cmd_value.Argv argv:[argv.py ''] arg_spids:[11 13])stderr: Unhandled SimpleCommand |
osh_.py | 13 Command Sub and exit code [osh_.py stdout] Expected 'x\n0\n33\n', got '\n0\n0\n' stdout: 0 0stderr: |
osh_.cc | 13 Command Sub and exit code [osh_.cc stdout] Expected 'x\n0\n33\n', got '\n0\n0\n' stdout: 0 0stderr: |
osh_.py | 14 Command Sub in local sets exit code [osh_.py stdout] Expected 'x\n0\n0\n', got '\n0\n0\n' stdout: 0 0stderr: |
osh_.cc | 14 Command Sub in local sets exit code [osh_.cc stdout] Expected 'x\n0\n0\n', got '\n0\n0\n' stdout: 0 0stderr: |
osh_.py | 15 Double Quotes in Command Sub in Double Quotes [osh_.py stdout] Expected 'x hi\nx hi\nx "hi"\nx hi\nx hi\nx hi\n', got 'x \nx \nx \nx \nx \nx \n' stdout: x x x x x xstderr: |
osh_.cc | 15 Double Quotes in Command Sub in Double Quotes [osh_.cc stdout] Expected 'x hi\nx hi\nx "hi"\nx hi\nx hi\nx hi\n', got 'x \nx \nx \nx \nx \nx \n' stdout: x x x x x xstderr: |
osh_.py | 16 Escaped quote in [[ ]] [osh_.py stdout] Expected '123 456\n"\n', got "123 456\n(cmd_value.Argv argv:[cat '/command-sub-dbracket'] arg_spids:[31 33])\n" stdout: 123 456 (cmd_value.Argv argv:[cat '/command-sub-dbracket'] arg_spids:[31 33])stderr: Unhandled SimpleCommand |
osh_.cc | 16 Escaped quote in [[ ]] [osh_.cc stdout] Expected '123 456\n"\n', got "123 456\n(cmd_value.Argv argv:[cat '/command-sub-dbracket'] arg_spids:[31 33])\n" stdout: 123 456 (cmd_value.Argv argv:[cat '/command-sub-dbracket'] arg_spids:[31 33])stderr: Unhandled SimpleCommand |
osh_.py | 17 Quoting $ within `` [osh_.py stdout] Expected '1 $\n2 $\n3 $\n4 $\n5 \\$\n', got '1\n2\n3\n4\n5\n' stdout: 1 2 3 4 5stderr: |
osh_.cc | 17 Quoting $ within `` [osh_.cc stdout] Expected '1 $\n2 $\n3 $\n4 $\n5 \\$\n', got '1\n2\n3\n4\n5\n' stdout: 1 2 3 4 5stderr: |
osh_.py | 18 Quoting $ within `` within double quotes [osh_.py stdout] Expected '1 $\n2 $\n3 $\n4 $\n5 \\$\n', got '1 \n2 \n3 \n4 \n5 \n' stdout: 1 2 3 4 5stderr: |
osh_.cc | 18 Quoting $ within `` within double quotes [osh_.cc stdout] Expected '1 $\n2 $\n3 $\n4 $\n5 \\$\n', got '1 \n2 \n3 \n4 \n5 \n' stdout: 1 2 3 4 5stderr: |
osh_.py | 19 Quoting \ within `` [osh_.py stdout] Expected '[1 ]\n[2 ]\n[3 \\]\n', got '[1 ]\n[2 ]\n[3 ]\n' stdout: [1 ] [2 ] [3 ]stderr: |
osh_.cc | 19 Quoting \ within `` [osh_.cc stdout] Expected '[1 ]\n[2 ]\n[3 \\]\n', got '[1 ]\n[2 ]\n[3 ]\n' stdout: [1 ] [2 ] [3 ]stderr: |
osh_.py | 20 Quoting \ within `` within double quotes [osh_.py stdout] Expected '[1 ]\n[2 ]\n[3 \\]\n', got '[1 ]\n[2 ]\n[3 ]\n' stdout: [1 ] [2 ] [3 ]stderr: |
osh_.cc | 20 Quoting \ within `` within double quotes [osh_.cc stdout] Expected '[1 ]\n[2 ]\n[3 \\]\n', got '[1 ]\n[2 ]\n[3 ]\n' stdout: [1 ] [2 ] [3 ]stderr: |
osh_.py | 21 Quoting ( within `` [osh_.py stdout] Expected '1 (\n2 (\n3 (\n', got '1\n2\n3\n' stdout: 1 2 3stderr: |
osh_.cc | 21 Quoting ( within `` [osh_.cc stdout] Expected '1 (\n2 (\n3 (\n', got '1\n2\n3\n' stdout: 1 2 3stderr: |
osh_.py | 22 Quoting ( within `` within double quotes [osh_.py stdout] Expected '1 (\n2 (\n3 (\n', got '1 \n2 \n3 \n' stdout: 1 2 3stderr: |
osh_.cc | 22 Quoting ( within `` within double quotes [osh_.cc stdout] Expected '1 (\n2 (\n3 (\n', got '1 \n2 \n3 \n' stdout: 1 2 3stderr: |
osh_.py | 23 Quoting non-special characters within `` [osh_.py stdout] Expected '[1 z]\n[2 z]\n[3 \\z]\n[4 \\z]\n', got '[1\n[2\n[3\n[4\n' stdout: [1 [2 [3 [4stderr: |
osh_.cc | 23 Quoting non-special characters within `` [osh_.cc stdout] Expected '[1 z]\n[2 z]\n[3 \\z]\n[4 \\z]\n', got '[1\n[2\n[3\n[4\n' stdout: [1 [2 [3 [4stderr: |
osh_.py | 24 Quoting non-special characters within `` within double quotes [osh_.py stdout] Expected '[1 z]\n[2 z]\n[3 \\z]\n[4 \\z]\n', got '[1 ]\n[2 ]\n[3 ]\n[4 ]\n' stdout: [1 ] [2 ] [3 ] [4 ]stderr: |
osh_.cc | 24 Quoting non-special characters within `` within double quotes [osh_.cc stdout] Expected '[1 z]\n[2 z]\n[3 \\z]\n[4 \\z]\n', got '[1 ]\n[2 ]\n[3 ]\n[4 ]\n' stdout: [1 ] [2 ] [3 ] [4 ]stderr: |
osh | 25 Quoting double quotes within backticks stdout: "foo" foo "foo"stderr: |
osh_.py | 25 Quoting double quotes within backticks [osh_.py stdout] Expected '"foo"\nfoo\n"foo"\n', got '"foo"\n\n\n' stdout: "foo"stderr: |
osh_.cc | 25 Quoting double quotes within backticks [osh_.cc stdout] Expected '"foo"\nfoo\n"foo"\n', got '"foo"\n\n\n' stdout: "foo"stderr: |
osh | 26 More levels of double quotes in backticks stdout: BUGstderr: |
osh_.py | 26 More levels of double quotes in backticks stdout: BUGstderr: |
osh_.cc | 26 More levels of double quotes in backticks stdout: BUGstderr: |
osh_.py | 27 Syntax errors with double quotes within backticks [osh_.py stdout] Expected 'status=2\nstatus=2\n', got '(cmd_value.Argv argv:[-c \'echo `echo "`\'] arg_spids:[2 4])\nstatus=0\n(cmd_value.Argv argv:[-c \'echo `echo \\\\\\\\\\\\\\\\"`\'] arg_spids:[15 17])\nstatus=0\n' stdout: (cmd_value.Argv argv:[-c 'echo `echo "`'] arg_spids:[2 4]) status=0 (cmd_value.Argv argv:[-c 'echo `echo \\\\\\\\"`'] arg_spids:[15 17]) status=0stderr: Unhandled SimpleCommand Unhandled SimpleCommand |
osh_.cc | 27 Syntax errors with double quotes within backticks [osh_.cc stdout] Expected 'status=2\nstatus=2\n', got '(cmd_value.Argv argv:[-c \'echo `echo "`\'] arg_spids:[2 4])\nstatus=0\n(cmd_value.Argv argv:[-c \'echo `echo \\\\\\\\\\\\\\\\"`\'] arg_spids:[15 17])\nstatus=0\n' stdout: (cmd_value.Argv argv:[-c 'echo `echo "`'] arg_spids:[2 4]) status=0 (cmd_value.Argv argv:[-c 'echo `echo \\\\\\\\"`'] arg_spids:[15 17]) status=0stderr: Unhandled SimpleCommand Unhandled SimpleCommand |