spec test index / oilshell.org
52 passed, 0 OK, 0 not implemented, 0 BUG, 32 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh_.py | 0 BASH_REMATCH [osh_.py stdout] Expected "['foo123', 'foo', '123']\n", got '(cmd_value.Argv argv:[argv.py foo123 foo 123] arg_spids:[21 23 23 23])\n' stdout: (cmd_value.Argv argv:[argv.py foo123 foo 123] arg_spids:[21 23 23 23])stderr: Unhandled SimpleCommand |
osh_.cc | 0 BASH_REMATCH [osh_.cc stdout] Expected "['foo123', 'foo', '123']\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 1 Match is unanchored at both ends [osh_.cc stdout] Expected 'true\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 2 Failed match [osh_.cc status] Expected 1, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 3 Regex quoted with \ -- preferred in bash [osh_.cc stdout] Expected 'true\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 4 Regex quoted with single quotes [osh_.cc status] Expected 1, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 5 Regex quoted with double quotes [osh_.cc status] Expected 1, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 6 Fix single quotes by storing in variable [osh_.cc stdout] Expected 'true\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 7 Fix single quotes by storing in variable [osh_.cc stdout] Expected 'true\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 8 Double quoting pat variable -- again bash doesn't like it. [osh_.cc status] Expected 1, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 9 Mixing quoted and unquoted parts [osh_.cc stdout] Expected 'true\ntrue\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 12 Malformed regex [osh_.cc status] Expected 2, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh | 13 Regex with char class containing space [osh stdout] Expected 'true\n', got '' [osh status] Expected 0, got 2 stdout: stderr: [[ 'ba ba ' =~ ([a b]+) ]] && echo true ^ [ stdin ]:1: Expected ]] |
osh_.py | 13 Regex with char class containing space [osh_.py stdout] Expected 'true\n', got '' [osh_.py status] Expected 0, got 2 stdout: stderr: [[ 'ba ba ' =~ ([a b]+) ]] && echo true ^ [ stdin ]:1: Expected ]] |
osh_.cc | 13 Regex with char class containing space [osh_.cc stdout] Expected 'true\n', got '' [osh_.cc status] Expected 0, got 2 stdout: stderr: [[ 'ba ba ' =~ ([a b]+) ]] && echo true ^ [ stdin ]:1: Expected ]] |
osh | 14 Operators and space lose meaning inside () [osh stdout] Expected 'true\n', got '' [osh status] Expected 0, got 2 stdout: stderr: [[ '< >' =~ (< >) ]] && echo true ^ [ stdin ]:1: Expected ]] |
osh_.py | 14 Operators and space lose meaning inside () [osh_.py stdout] Expected 'true\n', got '' [osh_.py status] Expected 0, got 2 stdout: stderr: [[ '< >' =~ (< >) ]] && echo true ^ [ stdin ]:1: Expected ]] |
osh_.cc | 14 Operators and space lose meaning inside () [osh_.cc stdout] Expected 'true\n', got '' [osh_.cc status] Expected 0, got 2 stdout: stderr: [[ '< >' =~ (< >) ]] && echo true ^ [ stdin ]:1: Expected ]] |
osh_.cc | 15 Regex with | [osh_.cc stdout] Expected 'true\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 16 Regex to match literal brackets [] [osh_.cc stdout] Expected 'true\ntrue\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 17 Regex to match literals . ^ $ etc. [osh_.cc stdout] Expected 'false\ntrue\nfalse\ntrue\nfalse\ntrue\nfalse\ntrue\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 18 Unquoted { is a regex parse error [osh_.cc status] Expected 2, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 20 Quoted { and + [osh_.cc stdout] Expected 'yes {\nyes +\nyes *\nyes ?\nyes ^\nyes $\nyes (\nyes )\nyes |\nyes \\\n---\nyes .\nno .\n---\na 0\n- 1\nb 0\nz 0\nstatus=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.py | 21 Escaped { [osh_.py stdout] Expected "['$PA', '$', 'PA']\n", got "(cmd_value.Argv argv:[argv.py '$PA' '$' PA] arg_spids:[26 28 28 28])\n" stdout: (cmd_value.Argv argv:[argv.py '$PA' '$' PA] arg_spids:[26 28 28 28])stderr: Unhandled SimpleCommand |
osh_.cc | 21 Escaped { [osh_.cc stdout] Expected "['$PA', '$', 'PA']\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.py | 22 Escaped { stored in variable first [osh_.py stdout] Expected "['$PA', '$', 'PA']\n", got "(cmd_value.Argv argv:[argv.py '$PA' '$' PA] arg_spids:[19 21 21 21])\n" stdout: (cmd_value.Argv argv:[argv.py '$PA' '$' PA] arg_spids:[19 21 21 21])stderr: Unhandled SimpleCommand |
osh_.cc | 22 Escaped { stored in variable first [osh_.cc stdout] Expected "['$PA', '$', 'PA']\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 23 regex with ? [osh_.cc stdout] Expected 'true\ntrue\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 24 regex with unprintable characters [osh_.cc stdout] Expected 'status=0\nstatus=1\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 25 pattern $f(x) -- regression [osh_.cc stdout] Expected 'status=0\nstatus=1\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 26 pattern a=(1) [osh_.cc stdout] Expected 'status=0\nstatus=1\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |
osh_.cc | 27 pattern @f(x) [osh_.cc stdout] Expected 'status=0\nstatus=1\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:43: List<Str *> *libc::regex_match(Str *, Str *): Assertion `0' failed. |