Results for word-split.test.sh

casedashbashmkshoshosh_ALTdescription
0pass pass pass pass pass IFS is scoped
1pass pass pass pass pass Tilde sub is not split, but var sub is
2pass pass pass pass pass Word splitting
3pass pass pass pass pass Word splitting 2
4pass pass pass pass pass $*
5pass pass pass pass pass "$*"
6pass pass pass pass pass $@
7pass pass pass pass pass "$@"
8pass pass pass pass pass empty argv
9pass pass pass pass pass Word elision with space
10pass pass pass FAIL FAIL Word elision with non-whitespace IFS
detailsdetails
11pass pass pass FAIL FAIL Leading/trailing word elision with non-whitespace IFS
detailsdetails
12pass pass pass pass pass Multiple non-whitespace IFS chars.
13pass pass pass FAIL FAIL IFS with whitespace and non-whitepace.
detailsdetails
14pass pass pass pass pass empty $@ and $* is elided
15pass pass pass pass pass unquoted empty arg is elided
16pass pass pass pass pass unquoted whitespace arg is elided
17pass pass pass pass pass empty literals are not elided
18pass pass pass pass pass no splitting when IFS is empty
19pass pass pass pass pass default value can yield multiple words
20pass pass pass pass pass default value can yield multiple words with part joining
21pass pass pass pass pass default value with unquoted IFS char
22pass pass pass pass pass TODO

109 passed, 0 ok, 0 known unimplemented, 0 known bugs, 3 failed, 0 skipped

Details on runs that didn't PASS

osh10 Word elision with non-whitespace IFS

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

stdout:
['', '']
stderr:
osh_ALT10 Word elision with non-whitespace IFS

[osh_ALT stdout] Expected "['']\n", got "['', '']\n"

stdout:
['', '']
stderr:
osh11 Leading/trailing word elision with non-whitespace IFS

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

stdout:
['', 'a', 'b', '']
stderr:
osh_ALT11 Leading/trailing word elision with non-whitespace IFS

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

stdout:
['', 'a', 'b', '']
stderr:
osh13 IFS with whitespace and non-whitepace.

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

stdout:
['a', 'b', '', '', '', 'c', '', 'd', 'e']
stderr:
osh_ALT13 IFS with whitespace and non-whitepace.

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

stdout:
['a', 'b', '', '', '', 'c', '', 'd', 'e']
stderr: