spec test index / oilshell.org
42 passed, 0 OK, 0 not implemented, 0 BUG, 78 failed, 0 timeouts, 0 cases skipped 7 failed under osh
osh_.py | 0 IFS is scoped [osh_.py stdout] Expected u"['ab', 'd']\n['a', 'cd']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: f() { local IFS=c; argv.py $word; } ^~~~~~~ [ stdin ]:3: 'argv.py' not found argv.py $word ^~~~~~~ [ stdin ]:5: 'argv.py' not found |
osh_.cc | 0 IFS is scoped [osh_.cc stdout] Expected u"['ab', 'd']\n['a', 'cd']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: f() { local IFS=c; argv.py $word; } ^~~~~~~ [ stdin ]:3: 'argv.py' not found argv.py $word ^~~~~~~ [ stdin ]:5: 'argv.py' not found |
osh_.py | 1 Tilde sub is not split, but var sub is [osh_.py stdout] Expected u"['foo bar']\n['foo', 'bar']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py ~ ^~~~~~~ [ stdin ]:2: 'argv.py' not found argv.py $HOME ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 1 Tilde sub is not split, but var sub is [osh_.cc stdout] Expected u"['foo bar']\n['foo', 'bar']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py ~ ^~~~~~~ [ stdin ]:2: 'argv.py' not found argv.py $HOME ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 2 Word splitting [osh_.py stdout] Expected u"['1', '23 4']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $a"$b" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 2 Word splitting [osh_.cc stdout] Expected u"['1', '23 4']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py $a"$b" ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 3 Word splitting 2 [osh_.py stdout] Expected u"['1', '23 45', '67 8']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $a"$b"$c"$d" ^~~~~~~ [ stdin ]:5: 'argv.py' not found |
osh_.cc | 3 Word splitting 2 [osh_.cc stdout] Expected u"['1', '23 45', '67 8']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py $a"$b"$c"$d" ^~~~~~~ [ stdin ]:5: 'argv.py' not found |
osh_.py | 4 $* [osh_.py stdout] Expected "['-a', '1', 'b', '2', 'c', '3-']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: fun() { argv.py -$*-; } ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.cc | 4 $* [osh_.cc stdout] Expected "['-a', '1', 'b', '2', 'c', '3-']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: fun() { argv.py -$*-; } ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.py | 5 "$*" [osh_.py stdout] Expected "['-a 1 b 2 c 3-']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: fun() { argv.py "-$*-"; } ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.cc | 5 "$*" [osh_.cc stdout] Expected "['-a 1 b 2 c 3-']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: fun() { argv.py "-$*-"; } ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.py | 6 $@ [osh_.py stdout] Expected "['-a', '1', 'b', '2', 'c', '3-']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: fun() { argv.py -$@-; } ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.cc | 6 $@ [osh_.cc stdout] Expected "['-a', '1', 'b', '2', 'c', '3-']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: fun() { argv.py -$@-; } ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.py | 7 "$@" [osh_.py stdout] Expected "['-a 1', 'b 2', 'c 3-']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: fun() { argv.py "-$@-"; } ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.cc | 7 "$@" [osh_.cc stdout] Expected "['-a 1', 'b 2', 'c 3-']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: fun() { argv.py "-$@-"; } ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.py | 8 empty argv [osh_.py stdout] Expected "['1', '2', '3', '', '4', '5']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py 1 "$@" 2 $@ 3 "$*" 4 $* 5 ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.cc | 8 empty argv [osh_.cc stdout] Expected "['1', '2', '3', '', '4', '5']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py 1 "$@" 2 $@ 3 "$*" 4 $* 5 ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.py | 9 Word elision with space [osh_.py stdout] Expected '[]\n', got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $s1 ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 9 Word elision with space [osh_.cc stdout] Expected '[]\n', got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py $s1 ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 10 Word elision with non-whitespace IFS [osh_.py stdout] Expected "['']\n[' ']\n[]\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $char ^~~~~~~ [ stdin ]:5: 'argv.py' not found argv.py $space ^~~~~~~ [ stdin ]:6: 'argv.py' not found argv.py $empty ^~~~~~~ [ stdin ]:7: 'argv.py' not found |
osh_.cc | 10 Word elision with non-whitespace IFS [osh_.cc stdout] Expected "['']\n[' ']\n[]\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py $char ^~~~~~~ [ stdin ]:5: 'argv.py' not found argv.py $space ^~~~~~~ [ stdin ]:6: 'argv.py' not found argv.py $empty ^~~~~~~ [ stdin ]:7: 'argv.py' not found |
osh_.py | 11 Leading/trailing word elision with non-whitespace IFS [osh_.py stdout] Expected "['', 'a', 'b']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $s1 ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 11 Leading/trailing word elision with non-whitespace IFS [osh_.cc stdout] Expected "['', 'a', 'b']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py $s1 ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 12 Leading ' ' vs leading ' _ ' [osh_.py stdout] Expected "['', 'a', 'b']\n['a', 'b']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $s1 ^~~~~~~ [ stdin ]:4: 'argv.py' not found argv.py $s2 ^~~~~~~ [ stdin ]:5: 'argv.py' not found |
osh_.cc | 12 Leading ' ' vs leading ' _ ' [osh_.cc stdout] Expected "['', 'a', 'b']\n['a', 'b']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py $s1 ^~~~~~~ [ stdin ]:4: 'argv.py' not found argv.py $s2 ^~~~~~~ [ stdin ]:5: 'argv.py' not found |
osh_.py | 13 Multiple non-whitespace IFS chars. [osh_.py stdout] Expected "['a', '', 'b', '', '', 'c', 'd']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $s1 ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 13 Multiple non-whitespace IFS chars. [osh_.cc stdout] Expected "['a', '', 'b', '', '', 'c', 'd']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py $s1 ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 14 IFS with whitespace and non-whitepace. [osh_.py stdout] Expected "['a', 'b', '', '', 'c', 'd', 'e']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $s1 ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 14 IFS with whitespace and non-whitepace. [osh_.cc stdout] Expected "['a', 'b', '', '', 'c', 'd', 'e']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py $s1 ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 15 empty $@ and $* is elided [osh_.py stdout] Expected "['1', '2']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: fun() { argv.py 1 $@ $* 2; } ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.cc | 15 empty $@ and $* is elided [osh_.cc stdout] Expected "['1', '2']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: fun() { argv.py 1 $@ $* 2; } ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.py | 16 unquoted empty arg is elided [osh_.py stdout] Expected "['1', '2']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py 1 $empty 2 ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 16 unquoted empty arg is elided [osh_.cc stdout] Expected "['1', '2']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py 1 $empty 2 ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 17 unquoted whitespace arg is elided [osh_.py stdout] Expected "['1', '2']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py 1 $space 2 ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 17 unquoted whitespace arg is elided [osh_.cc stdout] Expected "['1', '2']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py 1 $space 2 ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 18 empty literals are not elided [osh_.py stdout] Expected "['1', '', '2']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py 1 $space"" 2 ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 18 empty literals are not elided [osh_.cc stdout] Expected "['1', '', '2']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py 1 $space"" 2 ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 19 no splitting when IFS is empty [osh_.py stdout] Expected "['a b']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $foo ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 19 no splitting when IFS is empty [osh_.cc stdout] Expected "['a b']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py $foo ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 20 default value can yield multiple words [osh_.py stdout] Expected "['1', '2 3', '4 5', '6']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py 1 ${undefined:-"2 3" "4 5"} 6 ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.cc | 20 default value can yield multiple words [osh_.cc stdout] Expected "['1', '2 3', '4 5', '6']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py 1 ${undefined:-"2 3" "4 5"} 6 ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.py | 21 default value can yield multiple words with part joining [osh_.py stdout] Expected "['12 3', '4 56']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py 1${undefined:-"2 3" "4 5"}6 ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.cc | 21 default value can yield multiple words with part joining [osh_.cc stdout] Expected "['12 3', '4 56']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py 1${undefined:-"2 3" "4 5"}6 ^~~~~~~ [ stdin ]:1: 'argv.py' not found |
osh_.py | 22 default value with unquoted IFS char [osh_.py stdout] Expected "['12_3x', 'x4_56']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py 1${undefined:-"2_3"x_x"4_5"}6 ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.cc | 22 default value with unquoted IFS char [osh_.cc stdout] Expected "['12_3x', 'x4_56']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py 1${undefined:-"2_3"x_x"4_5"}6 ^~~~~~~ [ stdin ]:2: 'argv.py' not found |
osh_.py | 23 IFS empty doesn't do splitting [osh_.py stdout] Expected "[' a b\\tc']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $x ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 23 IFS empty doesn't do splitting [osh_.cc stdout] Expected "[' a b\\tc']\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.py | 24 IFS unset behaves like $' \t\n' [osh_.py stdout] Expected "['a', 'b', 'c']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $x ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 24 IFS unset behaves like $' \t\n' [osh_.cc stdout] Expected "['a', 'b', 'c']\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh | 25 IFS='\' [osh stdout] Expected "['a', 'b']\n", got "['a', '', '', '', 'b']\n" stdout: ['a', '', '', '', 'b']stderr: |
osh_.py | 25 IFS='\' [osh_.py stdout] Expected "['a', 'b']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $s ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 25 IFS='\' [osh_.cc stdout] Expected "['a', 'b']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py $s ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh | 26 IFS='\ ' [osh stdout] Expected "['a', 'b', '', 'c', 'd']\n", got "['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']\n" stdout: ['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']stderr: |
osh_.py | 26 IFS='\ ' [osh_.py stdout] Expected "['a', 'b', '', 'c', 'd']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $s ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 26 IFS='\ ' [osh_.cc stdout] Expected "['a', 'b', '', 'c', 'd']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py $s ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 27 IFS characters are glob metacharacters [osh_.py stdout] Expected "['a', 'b', 'c']\n['', 'x', 'y', 'z']\n['', 'x', 'y', 'z']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py $s ^~~~~~~ [ stdin ]:3: 'argv.py' not found argv.py $s ^~~~~~~ [ stdin ]:6: 'argv.py' not found argv.py $s ^~~~~~~ [ stdin ]:9: 'argv.py' not found |
osh_.cc | 27 IFS characters are glob metacharacters [osh_.cc stdout] Expected "['a', 'b', 'c']\n['', 'x', 'y', 'z']\n['', 'x', 'y', 'z']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py $s ^~~~~~~ [ stdin ]:3: 'argv.py' not found argv.py $s ^~~~~~~ [ stdin ]:6: 'argv.py' not found argv.py $s ^~~~~~~ [ stdin ]:9: 'argv.py' not found |
osh_.py | 28 Trailing space [osh_.py stdout] Expected "['Xec ho ']\n['Xec ho ']\n['Xec ho ']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py 'Xec ho ' ^~~~~~~ [ stdin ]:1: 'argv.py' not found argv.py X'ec ho ' ^~~~~~~ [ stdin ]:2: 'argv.py' not found argv.py X"ec ho " ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.cc | 28 Trailing space [osh_.cc stdout] Expected "['Xec ho ']\n['Xec ho ']\n['Xec ho ']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py 'Xec ho ' ^~~~~~~ [ stdin ]:1: 'argv.py' not found argv.py X'ec ho ' ^~~~~~~ [ stdin ]:2: 'argv.py' not found argv.py X"ec ho " ^~~~~~~ [ stdin ]:3: 'argv.py' not found |
osh_.py | 32 IFS and joining arrays [osh_.py stdout] Expected "['x', 'y z']\n['x', 'y z']\n['x:y z']\n['x', 'y z']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "$@" ^~~~~~~ [ stdin ]:3: 'argv.py' not found argv.py $@ ^~~~~~~ [ stdin ]:4: 'argv.py' not found argv.py "$*" ^~~~~~~ [ stdin ]:5: 'argv.py' not found argv.py $* ^~~~~~~ [ stdin ]:6: 'argv.py' not found |
osh_.cc | 32 IFS and joining arrays [osh_.cc stdout] Expected "['x', 'y z']\n['x', 'y z']\n['x:y z']\n['x', 'y z']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "$@" ^~~~~~~ [ stdin ]:3: 'argv.py' not found argv.py $@ ^~~~~~~ [ stdin ]:4: 'argv.py' not found argv.py "$*" ^~~~~~~ [ stdin ]:5: 'argv.py' not found argv.py $* ^~~~~~~ [ stdin ]:6: 'argv.py' not found |
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 ]:7: 'sx:y z' not found |
osh_.py | 33 IFS and joining arrays by assignments [osh_.py stdout] Expected "['x y z']\n['x y z']\n['x y z']\n['x:y z']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py "$s" ^~~~~~~ [ stdin ]:4: 'argv.py' not found argv.py "$s" ^~~~~~~ [ stdin ]:6: 'argv.py' not found s"$*" ^ [ stdin ]:7: 'sx:y z' not found argv.py "$s" ^~~~~~~ [ stdin ]:8: 'argv.py' not found argv.py "$s" ^~~~~~~ [ stdin ]:10: 'argv.py' not found |
osh_.cc | 33 IFS and joining arrays by assignments [osh_.cc stdout] Expected "['x y z']\n['x y z']\n['x y z']\n['x:y z']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py "$s" ^~~~~~~ [ stdin ]:4: 'argv.py' not found argv.py "$s" ^~~~~~~ [ stdin ]:6: 'argv.py' not found s"$*" ^ [ stdin ]:7: 'sx:y z' not found argv.py "$s" ^~~~~~~ [ stdin ]:8: 'argv.py' not found argv.py "$s" ^~~~~~~ [ stdin ]:10: 'argv.py' not found |
osh | 35 IFS='' with $@ and $* [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_.py | 35 IFS='' with $@ and $* [osh_.py stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py at $@ ^~~~~~~ [ stdin ]:3: 'argv.py' not found argv.py star $* ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh_.cc | 35 IFS='' with $@ and $* [osh_.cc stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py at $@ ^~~~~~~ [ stdin ]:3: 'argv.py' not found argv.py star $* ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh | 36 IFS='' with $@ and $* and printf [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_.py | 36 IFS='' with $@ and $* and printf [osh_.py 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_.cc | 36 IFS='' with $@ and $* and printf [osh_.cc 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[*]} [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_.py | 37 IFS='' with ${a[@]} and ${a[*]} [osh_.py stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n", got '' [osh_.py status] Expected 0, got 127 stdout: stderr: argv.py at ${myarray[@]} ^~~~~~~ [ stdin ]:3: 'argv.py' not found argv.py star ${myarray[*]} ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
osh_.cc | 37 IFS='' with ${a[@]} and ${a[*]} [osh_.cc stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n", got '' [osh_.cc status] Expected 0, got 127 stdout: stderr: argv.py at ${myarray[@]} ^~~~~~~ [ stdin ]:3: 'argv.py' not found argv.py star ${myarray[*]} ^~~~~~~ [ stdin ]:4: 'argv.py' not found |
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_.py | 38 Bug #628 split on : with : in literal word [osh_.py stdout] Expected "['a', ':b']\n['a', ':']\n---\n['a', 'zb']\n['a', 'z']\n", got '---\n' [osh_.py status] Expected 0, got 127 stdout: ---stderr: argv.py ${word}:b ^~~~~~~ [ stdin ]:3: 'argv.py' not found argv.py ${word}: ^~~~~~~ [ stdin ]:4: 'argv.py' not found argv.py ${word}zb ^~~~~~~ [ stdin ]:8: 'argv.py' not found argv.py ${word}z ^~~~~~~ [ stdin ]:9: 'argv.py' not found |
osh_.cc | 38 Bug #628 split on : with : in literal word [osh_.cc stdout] Expected "['a', ':b']\n['a', ':']\n---\n['a', 'zb']\n['a', 'z']\n", got '---\n' [osh_.cc status] Expected 0, got 127 stdout: ---stderr: argv.py ${word}:b ^~~~~~~ [ stdin ]:3: 'argv.py' not found argv.py ${word}: ^~~~~~~ [ stdin ]:4: 'argv.py' not found argv.py ${word}zb ^~~~~~~ [ stdin ]:8: 'argv.py' not found argv.py ${word}z ^~~~~~~ [ stdin ]:9: 'argv.py' not found |
osh_.cc | 39 Bug #698, similar crash [osh_.cc stdout] Expected '\\\n', got '\n' stdout: stderr: |