Results for word-split.test.sh

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

89 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:
osh11 Leading/trailing word elision with non-whitespace IFS

[osh 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: