66 passed, 0 OK, 0 not implemented, 0 BUG, 10 failed, 0 timeouts, 0 cases skipped 10 failed under osh
osh | 25 IFS='\' [osh stdout] Expected "['a', 'b']\n", got "['a', '', '', '', 'b']\n" stdout: ['a', '', '', '', 'b']stderr: |
osh-cpp | 25 IFS='\' [osh-cpp stdout] Expected "['a', 'b']\n", got "['a', '', '', '', 'b']\n" stdout: ['a', '', '', '', 'b']stderr: |
osh | 26 IFS='\ ' [osh stdout] Expected "['a', 'b', '', 'c', 'd']\n", got "['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']\n" stdout: ['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']stderr: |
osh-cpp | 26 IFS='\ ' [osh-cpp stdout] Expected "['a', 'b', '', 'c', 'd']\n", got "['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']\n" stdout: ['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']stderr: |
osh | 33 IFS and joining arrays by assignments [osh stdout] Expected "['x y z']\n['x y z']\n['x y z']\n['x:y z']\n" Got "['x y z']\n['x:y z']\n['x:y z']\n['x:y z']\n" stdout: ['x y z'] ['x:y z'] ['x:y z'] ['x:y z']stderr: s"$*" ^ [ stdin ]:10: 'sx:y z' not found (OILS-ERR-100) |
osh-cpp | 33 IFS and joining arrays by assignments [osh-cpp stdout] Expected "['x y z']\n['x y z']\n['x y z']\n['x:y z']\n" Got "['x y z']\n['x:y z']\n['x:y z']\n['x:y z']\n" stdout: ['x y z'] ['x:y z'] ['x:y z'] ['x:y z']stderr: s"$*" ^ [ stdin ]:10: 'sx:y z' not found (OILS-ERR-100) |
osh | 35 IFS='' with $@ and $* (bug #627) [osh stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n" Got "['at', 'ab c']\n['star', 'ab c']\n" stdout: ['at', 'ab c'] ['star', 'ab c']stderr: |
osh-cpp | 35 IFS='' with $@ and $* (bug #627) [osh-cpp stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n" Got "['at', 'ab c']\n['star', 'ab c']\n" stdout: ['at', 'ab c'] ['star', 'ab c']stderr: |
osh | 36 IFS='' with $@ and $* and printf (bug #627) [osh stdout] Expected '[a]\n[b c]\n[a]\n[b c]\n', got '[ab c]\n[ab c]\n' stdout: [ab c] [ab c]stderr: |
osh-cpp | 36 IFS='' with $@ and $* and printf (bug #627) [osh-cpp stdout] Expected '[a]\n[b c]\n[a]\n[b c]\n', got '[ab c]\n[ab c]\n' stdout: [ab c] [ab c]stderr: |
osh | 37 IFS='' with ${a[@]} and ${a[*]} (bug #627) [osh stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n" Got "['at', 'ab c']\n['star', 'ab c']\n" stdout: ['at', 'ab c'] ['star', 'ab c']stderr: |
osh-cpp | 37 IFS='' with ${a[@]} and ${a[*]} (bug #627) [osh-cpp stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n" Got "['at', 'ab c']\n['star', 'ab c']\n" stdout: ['at', 'ab c'] ['star', 'ab c']stderr: |
osh | 38 Bug #628 split on : with : in literal word [osh stdout] Expected "['a', ':b']\n['a', ':']\n---\n['a', 'zb']\n['a', 'z']\n" Got "['a', '\\\\', 'b']\n['a', '\\\\']\n---\n['a', '\\\\', 'b']\n['a', '\\\\']\n" stdout: ['a', '\\', 'b'] ['a', '\\'] --- ['a', '\\', 'b'] ['a', '\\']stderr: |
osh-cpp | 38 Bug #628 split on : with : in literal word [osh-cpp stdout] Expected "['a', ':b']\n['a', ':']\n---\n['a', 'zb']\n['a', 'z']\n" Got "['a', '\\\\', 'b']\n['a', '\\\\']\n---\n['a', '\\\\', 'b']\n['a', '\\\\']\n" stdout: ['a', '\\', 'b'] ['a', '\\'] --- ['a', '\\', 'b'] ['a', '\\']stderr: |
osh | 40 Bug #1664, \\ with noglob [osh stdout] Expected "['[\\\\]_']\n['[\\\\]_']\nnoglob\n['[\\\\]_']\n['[\\\\]_']\n" Got "['[\\\\]_']\n['[\\\\]_']\nnoglob\n['[\\\\\\\\]_']\n['[\\\\]_']\n" stdout: ['[\\]_'] ['[\\]_'] noglob ['[\\\\]_'] ['[\\]_']stderr: |
osh-cpp | 40 Bug #1664, \\ with noglob [osh-cpp stdout] Expected "['[\\\\]_']\n['[\\\\]_']\nnoglob\n['[\\\\]_']\n['[\\\\]_']\n" Got "['[\\\\]_']\n['[\\\\]_']\nnoglob\n['[\\\\\\\\]_']\n['[\\\\]_']\n" stdout: ['[\\]_'] ['[\\]_'] noglob ['[\\\\]_'] ['[\\]_']stderr: |
osh | 41 Empty IFS bug #2141 (from pnut) [osh stdout] Expected '12 + 30 = 42\n12 + 30 = 42\n12 + 30 = 42\n12 + 30 = 42\n12 + 30 = 42\n' Got '12 + 30 = 42\n12 + 30 = 42\n1230 + 0 = 1230\n1230 + = 1230\n' [osh status] Expected 0, got 1 stdout: 12 + 30 = 42 12 + 30 = 42 1230 + 0 = 1230 1230 + = 1230stderr: res=$(($1 + $2)) ^~ [ stdin ]:4: fatal: Undefined variable '2' |
osh-cpp | 41 Empty IFS bug #2141 (from pnut) [osh-cpp stdout] Expected '12 + 30 = 42\n12 + 30 = 42\n12 + 30 = 42\n12 + 30 = 42\n12 + 30 = 42\n' Got '12 + 30 = 42\n12 + 30 = 42\n1230 + 0 = 1230\n1230 + = 1230\n' [osh-cpp status] Expected 0, got 1 stdout: 12 + 30 = 42 12 + 30 = 42 1230 + 0 = 1230 1230 + = 1230stderr: res=$(($1 + $2)) ^~ [ stdin ]:4: fatal: Undefined variable '2' |
osh | 42 Unicode in IFS [osh stdout] Expected '<>\n<x>\n', got '<>\n<>\n<x>\n' stdout: <> <> <x>stderr: setopt SH_WORD_SPLIT ^~~~~~ [ stdin ]:1: 'setopt' not found (OILS-ERR-100) |
osh-cpp | 42 Unicode in IFS [osh-cpp stdout] Expected '<>\n<x>\n', got '<>\n<>\n<x>\n' stdout: <> <> <x>stderr: setopt SH_WORD_SPLIT ^~~~~~ [ stdin ]:1: 'setopt' not found (OILS-ERR-100) |