Results for word-split.test.sh

statusoshosh_.pyosh_.cc
pass 3354
FAIL 73536
total404040
caseoshosh_.pyosh_.ccdescription
0pass FAIL FAIL IFS is scoped
detailsdetails
1pass FAIL FAIL Tilde sub is not split, but var sub is
detailsdetails
2pass FAIL FAIL Word splitting
detailsdetails
3pass FAIL FAIL Word splitting 2
detailsdetails
4pass FAIL FAIL $*
detailsdetails
5pass FAIL FAIL "$*"
detailsdetails
6pass FAIL FAIL $@
detailsdetails
7pass FAIL FAIL "$@"
detailsdetails
8pass FAIL FAIL empty argv
detailsdetails
9pass FAIL FAIL Word elision with space
detailsdetails
10pass FAIL FAIL Word elision with non-whitespace IFS
detailsdetails
11pass FAIL FAIL Leading/trailing word elision with non-whitespace IFS
detailsdetails
12pass FAIL FAIL Leading ' ' vs leading ' _ '
detailsdetails
13pass FAIL FAIL Multiple non-whitespace IFS chars.
detailsdetails
14pass FAIL FAIL IFS with whitespace and non-whitepace.
detailsdetails
15pass FAIL FAIL empty $@ and $* is elided
detailsdetails
16pass FAIL FAIL unquoted empty arg is elided
detailsdetails
17pass FAIL FAIL unquoted whitespace arg is elided
detailsdetails
18pass FAIL FAIL empty literals are not elided
detailsdetails
19pass FAIL FAIL no splitting when IFS is empty
detailsdetails
20pass FAIL FAIL default value can yield multiple words
detailsdetails
21pass FAIL FAIL default value can yield multiple words with part joining
detailsdetails
22pass FAIL FAIL default value with unquoted IFS char
detailsdetails
23pass FAIL FAIL IFS empty doesn't do splitting
detailsdetails
24pass FAIL FAIL IFS unset behaves like $' \t\n'
detailsdetails
25FAIL FAIL FAIL IFS='\'
detailsdetailsdetails
26FAIL FAIL FAIL IFS='\ '
detailsdetailsdetails
27pass FAIL FAIL IFS characters are glob metacharacters
detailsdetails
28pass FAIL FAIL Trailing space
detailsdetails
29pass pass pass Empty IFS (regression for bug)
30pass pass pass Unset IFS (regression for bug)
31pass pass pass IFS=o (regression for bug)
32pass FAIL FAIL IFS and joining arrays
detailsdetails
33FAIL FAIL FAIL IFS and joining arrays by assignments
detailsdetailsdetails
34pass pass pass TODO
35FAIL FAIL FAIL IFS='' with $@ and $*
detailsdetailsdetails
36FAIL FAIL FAIL IFS='' with $@ and $* and printf
detailsdetailsdetails
37FAIL FAIL FAIL IFS='' with ${a[@]} and ${a[*]}
detailsdetailsdetails
38FAIL FAIL FAIL Bug #628 split on : with : in literal word
detailsdetailsdetails
39pass pass FAIL Bug #698, similar crash
details
42 passed, 0 OK, 0 not implemented, 0 BUG, 78 failed, 0 timeouts, 0 cases skipped
7 failed under osh

Details on runs that didn't PASS

osh_.py0 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_.cc0 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_.py1 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_.cc1 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_.py2 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_.cc2 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_.py3 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_.cc3 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_.py4 $*

[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_.cc4 $*

[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_.py5 "$*"

[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_.cc5 "$*"

[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_.py6 $@

[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_.cc6 $@

[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_.py7 "$@"

[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_.cc7 "$@"

[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_.py8 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_.cc8 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_.py9 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_.cc9 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_.py10 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_.cc10 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_.py11 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_.cc11 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_.py12 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_.cc12 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_.py13 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_.cc13 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_.py14 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_.cc14 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_.py15 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_.cc15 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_.py16 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_.cc16 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_.py17 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_.cc17 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_.py18 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_.cc18 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_.py19 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_.cc19 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_.py20 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_.cc20 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_.py21 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_.cc21 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_.py22 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_.cc22 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_.py23 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_.cc23 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_.py24 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_.cc24 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.
osh25 IFS='\'

[osh stdout] Expected "['a', 'b']\n", got "['a', '', '', '', 'b']\n"

stdout:
['a', '', '', '', 'b']
stderr:
osh_.py25 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_.cc25 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
osh26 IFS='\ '

[osh stdout] Expected "['a', 'b', '', 'c', 'd']\n", got "['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']\n"

stdout:
['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']
stderr:
osh_.py26 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_.cc26 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_.py27 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_.cc27 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_.py28 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_.cc28 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_.py32 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_.cc32 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
osh33 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_.py33 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_.cc33 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
osh35 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_.py35 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_.cc35 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
osh36 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_.py36 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_.cc36 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:
osh37 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_.py37 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_.cc37 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
osh38 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_.py38 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_.cc38 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_.cc39 Bug #698, similar crash

[osh_.cc stdout] Expected '\\\n', got '\n'

stdout:
stderr: