spec test index / oilshell.org
case | dash | bash | mksh | osh | osh_ALT | description |
0 | pass | pass | pass | pass | pass | IFS is scoped |
1 | pass | pass | pass | pass | pass | Tilde sub is not split, but var sub is |
2 | pass | pass | pass | pass | pass | Word splitting |
3 | pass | pass | pass | pass | pass | Word splitting 2 |
4 | pass | pass | pass | pass | pass | $* |
5 | pass | pass | pass | pass | pass | "$*" |
6 | pass | pass | pass | pass | pass | $@ |
7 | pass | pass | pass | pass | pass | "$@" |
8 | pass | pass | pass | pass | pass | empty argv |
9 | pass | pass | pass | pass | pass | Word elision with space |
10 | pass | pass | pass | FAIL | FAIL | Word elision with non-whitespace IFS |
details | details | |||||
11 | pass | pass | pass | FAIL | FAIL | Leading/trailing word elision with non-whitespace IFS |
details | details | |||||
12 | pass | pass | pass | pass | pass | Multiple non-whitespace IFS chars. |
13 | pass | pass | pass | FAIL | FAIL | IFS with whitespace and non-whitepace. |
details | details | |||||
14 | pass | pass | pass | pass | pass | empty $@ and $* is elided |
15 | pass | pass | pass | pass | pass | unquoted empty arg is elided |
16 | pass | pass | pass | pass | pass | unquoted whitespace arg is elided |
17 | pass | pass | pass | pass | pass | empty literals are not elided |
18 | pass | pass | pass | pass | pass | no splitting when IFS is empty |
19 | pass | pass | pass | pass | pass | default value can yield multiple words |
20 | pass | pass | pass | pass | pass | default value can yield multiple words with part joining |
21 | pass | pass | pass | pass | pass | default value with unquoted IFS char |
22 | pass | pass | pass | pass | pass | TODO |
109 passed, 0 ok, 0 known unimplemented, 0 known bugs, 3 failed, 0 skipped
osh | 10 Word elision with non-whitespace IFS [osh stdout] Expected "['']\n", got "['', '']\n" stdout: ['', '']stderr: |
osh_ALT | 10 Word elision with non-whitespace IFS [osh_ALT stdout] Expected "['']\n", got "['', '']\n" stdout: ['', '']stderr: |
osh | 11 Leading/trailing word elision with non-whitespace IFS [osh stdout] Expected "['', 'a', 'b']\n", got "['', 'a', 'b', '']\n" stdout: ['', 'a', 'b', '']stderr: |
osh_ALT | 11 Leading/trailing word elision with non-whitespace IFS [osh_ALT stdout] Expected "['', 'a', 'b']\n", got "['', 'a', 'b', '']\n" stdout: ['', 'a', 'b', '']stderr: |
osh | 13 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_ALT | 13 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: |