spec test index / oilshell.org
40 passed, 0 OK, 2 not implemented, 0 BUG, 21 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh_.cc | 0 Pattern replacement [osh_.cc stdout] Expected 'abXX\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 1 Pattern replacement on unset variable [osh_.cc stdout] Expected '--\nstatus=0\n', got '' [osh_.cc status] Expected 1, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 2 Global Pattern replacement with / [osh_.cc stdout] Expected 'yy_xx_xx yy_yy_xx\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 3 Left Anchored Pattern replacement with # [osh_.cc stdout] Expected 'xx_yy_xx xx_xx_xx\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 4 Right Anchored Pattern replacement with % [osh_.cc stdout] Expected 'xx_yy_xx xx_xx_yy\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 5 Replace fixed strings [osh_.cc stdout] Expected 'yy_xx yy_yy yy_xx xx_yy\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 6 Replace is longest match [osh_.cc stdout] Expected 'begin [] end\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 7 Replace char class [osh_.cc stdout] Expected 'yy_yy_yy xx-xx-xx\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 8 Replace hard glob [osh_.cc stdout] Expected 'aa__cc\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 11 ${v/a} is the same as ${v/a/} -- no replacement string [osh_.cc stdout] Expected 'abb\nstatus=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 12 Replacement with special chars (bug fix) [osh_.cc stdout] Expected '?x\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 13 Replace backslash [osh_.cc stdout] Expected '[_]\n[\\_]\n[\\_]\n[_]\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 14 Replace right ] [osh_.cc stdout] Expected '--_--\n--_--\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 15 Substitute glob characters in pattern, quoted and unquoted [osh_.cc stdout] Expected 'a-b\n-\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 16 Substitute one unicode character (UTF-8) [osh_.cc stdout] Expected 'foo and foo\nfoo and _\xce\xbc_\n_\xce\xbc_ and foo\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh | 17 Can't substitute one unicode character when LANG=C [osh stdout] Expected '_\xce\xbc_ and _\xce\xbc_\n_\xce\xbc_ and _\xce\xbc_\n_\xce\xbc_ and _\xce\xbc_\n', got 'foo and foo\nfoo and _\xce\xbc_\n_\xce\xbc_ and foo\n' stdout: foo and foo foo and _μ_ _μ_ and foostderr: |
osh_.py | 17 Can't substitute one unicode character when LANG=C [osh_.py stdout] Expected '_\xce\xbc_ and _\xce\xbc_\n_\xce\xbc_ and _\xce\xbc_\n_\xce\xbc_ and _\xce\xbc_\n', got 'foo and foo\nfoo and _\xce\xbc_\n_\xce\xbc_ and foo\n' stdout: foo and foo foo and _μ_ _μ_ and foostderr: |
osh_.cc | 17 Can't substitute one unicode character when LANG=C [osh_.cc stdout] Expected '_\xce\xbc_ and _\xce\xbc_\n_\xce\xbc_ and _\xce\xbc_\n_\xce\xbc_ and _\xce\xbc_\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 18 ${x/^} regression [osh_.cc stdout] Expected 'abc\nabc\n^^\n^^^\n!!!\n!!\nb!c\na^c\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh_.cc | 19 \(\) in pattern (regression) [osh_.cc stdout] Expected '1 z\n2 z\n3 fooz\n4 z\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |
osh | 20 Extended globs! (not supported in Oil) stdout: ext foo() ext foo()stderr: |
osh_.py | 20 Extended globs! (not supported in Oil) stdout: ext foo() ext foo()stderr: |
osh_.cc | 20 Extended globs! (not supported in Oil) [osh_.cc stdout] Expected 'ext foo()\next foo()\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/libc.h:48: Tuple2<int, int> *libc::regex_first_group_match(Str *, Str *, int): Assertion `0' failed. |