spec test index / oilshell.org
case | dash | bash | mksh | osh | osh_ALT | osh-byterun | description |
0 | pass | pass | pass | pass | pass | FAIL | IFS is scoped |
details | |||||||
1 | pass | pass | pass | pass | pass | FAIL | Tilde sub is not split, but var sub is |
details | |||||||
2 | pass | pass | pass | pass | pass | FAIL | Word splitting |
details | |||||||
3 | pass | pass | pass | pass | pass | FAIL | Word splitting 2 |
details | |||||||
4 | pass | pass | pass | pass | pass | FAIL | $* |
details | |||||||
5 | pass | pass | pass | pass | pass | FAIL | "$*" |
details | |||||||
6 | pass | pass | pass | pass | pass | FAIL | $@ |
details | |||||||
7 | pass | pass | pass | pass | pass | FAIL | "$@" |
details | |||||||
8 | pass | pass | pass | pass | pass | FAIL | empty argv |
details | |||||||
9 | pass | pass | pass | pass | pass | FAIL | Word elision with space |
details | |||||||
10 | pass | pass | pass | pass | pass | FAIL | Word elision with non-whitespace IFS |
details | |||||||
11 | pass | pass | pass | pass | pass | FAIL | Leading/trailing word elision with non-whitespace IFS |
details | |||||||
12 | pass | pass | pass | pass | pass | FAIL | Leading ' ' vs leading ' _ ' |
details | |||||||
13 | pass | pass | pass | pass | pass | FAIL | Multiple non-whitespace IFS chars. |
details | |||||||
14 | pass | pass | pass | pass | pass | FAIL | IFS with whitespace and non-whitepace. |
details | |||||||
15 | pass | pass | pass | pass | pass | FAIL | empty $@ and $* is elided |
details | |||||||
16 | pass | pass | pass | pass | pass | FAIL | unquoted empty arg is elided |
details | |||||||
17 | pass | pass | pass | pass | pass | FAIL | unquoted whitespace arg is elided |
details | |||||||
18 | pass | pass | pass | pass | pass | FAIL | empty literals are not elided |
details | |||||||
19 | pass | pass | pass | pass | pass | FAIL | no splitting when IFS is empty |
details | |||||||
20 | pass | pass | pass | pass | pass | FAIL | default value can yield multiple words |
details | |||||||
21 | pass | pass | pass | pass | pass | FAIL | default value can yield multiple words with part joining |
details | |||||||
22 | pass | pass | pass | pass | pass | FAIL | default value with unquoted IFS char |
details | |||||||
23 | N-I | pass | pass | pass | pass | FAIL | IFS empty doesn't do splitting |
details | details | ||||||
24 | N-I | pass | pass | pass | pass | FAIL | IFS unset behaves like $' \t\n' |
details | details | ||||||
25 | pass | pass | pass | FAIL | FAIL | FAIL | IFS='\' |
details | details | details | |||||
26 | pass | pass | pass | FAIL | FAIL | FAIL | IFS='\ ' |
details | details | details | |||||
27 | pass | pass | pass | pass | pass | FAIL | IFS characters are glob metacharacters |
details | |||||||
28 | pass | pass | pass | pass | pass | FAIL | Trailing space |
details | |||||||
29 | pass | pass | pass | pass | pass | FAIL | TODO |
details |
144 passed, 0 ok, 2 known unimplemented, 0 known bugs, 2 failed, 0 skipped
osh-byterun | 0 IFS is scoped [osh-byterun stdout] Expected u"['ab', 'd']\n['a', 'cd']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 1 Tilde sub is not split, but var sub is [osh-byterun stdout] Expected u"['foo bar']\n['foo', 'bar']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 2 Word splitting [osh-byterun stdout] Expected u"['1', '23 4']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 3 Word splitting 2 [osh-byterun stdout] Expected u"['1', '23 45', '67 8']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 4 $* [osh-byterun stdout] Expected "['-a', '1', 'b', '2', 'c', '3-']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 5 "$*" [osh-byterun stdout] Expected "['-a 1 b 2 c 3-']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 6 $@ [osh-byterun stdout] Expected "['-a', '1', 'b', '2', 'c', '3-']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 7 "$@" [osh-byterun stdout] Expected "['-a 1', 'b 2', 'c 3-']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 8 empty argv [osh-byterun stdout] Expected "['1', '2', '3', '', '4', '5']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 9 Word elision with space [osh-byterun stdout] Expected '[]\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 10 Word elision with non-whitespace IFS [osh-byterun stdout] Expected "['']\n[' ']\n[]\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 11 Leading/trailing word elision with non-whitespace IFS [osh-byterun stdout] Expected "['', 'a', 'b']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 12 Leading ' ' vs leading ' _ ' [osh-byterun stdout] Expected "['', 'a', 'b']\n['a', 'b']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 13 Multiple non-whitespace IFS chars. [osh-byterun stdout] Expected "['a', '', 'b', '', '', 'c', 'd']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 14 IFS with whitespace and non-whitepace. [osh-byterun stdout] Expected "['a', 'b', '', '', 'c', 'd', 'e']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 15 empty $@ and $* is elided [osh-byterun stdout] Expected "['1', '2']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 16 unquoted empty arg is elided [osh-byterun stdout] Expected "['1', '2']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 17 unquoted whitespace arg is elided [osh-byterun stdout] Expected "['1', '2']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 18 empty literals are not elided [osh-byterun stdout] Expected "['1', '', '2']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 19 no splitting when IFS is empty [osh-byterun stdout] Expected "['a b']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 20 default value can yield multiple words [osh-byterun stdout] Expected "['1', '2 3', '4 5', '6']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 21 default value can yield multiple words with part joining [osh-byterun stdout] Expected "['12 3', '4 56']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 22 default value with unquoted IFS char [osh-byterun stdout] Expected "['12_3x', 'x4_56']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
dash | 23 IFS empty doesn't do splitting stdout: ['-e a b\tc']stderr: |
osh-byterun | 23 IFS empty doesn't do splitting [osh-byterun stdout] Expected "[' a b\\tc']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
dash | 24 IFS unset behaves like $' \t\n' stdout: ['-e', 'a', 'b', 'c']stderr: |
osh-byterun | 24 IFS unset behaves like $' \t\n' [osh-byterun stdout] Expected "['a', 'b', 'c']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh | 25 IFS='\' [osh stdout] Expected "['a', 'b']\n", got "['a', '', '', '', 'b']\n" stdout: ['a', '', '', '', 'b']stderr: |
osh_ALT | 25 IFS='\' [osh_ALT stdout] Expected "['a', 'b']\n", got "['a', '', '', '', 'b']\n" stdout: ['a', '', '', '', 'b']stderr: |
osh-byterun | 25 IFS='\' [osh-byterun stdout] Expected "['a', 'b']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh | 26 IFS='\ ' [osh stdout] Expected "['a', 'b', '', 'c', 'd']\n", got "['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']\n" stdout: ['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']stderr: |
osh_ALT | 26 IFS='\ ' [osh_ALT stdout] Expected "['a', 'b', '', 'c', 'd']\n", got "['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']\n" stdout: ['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']stderr: |
osh-byterun | 26 IFS='\ ' [osh-byterun stdout] Expected "['a', 'b', '', 'c', 'd']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 27 IFS characters are glob metacharacters [osh-byterun stdout] Expected "['a', 'b', 'c']\n['', 'x', 'y', 'z']\n['', 'x', 'y', 'z']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 28 Trailing space [osh-byterun stdout] Expected "['Xec ho ']\n['Xec ho ']\n['Xec ho ']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 29 TODO [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |