spec test index / oilshell.org
case | dash | bash | mksh | osh | osh_ALT | description |
0 | pass | pass | pass | pass | pass | Unquoted words |
1 | pass | pass | pass | pass | pass | Single-quoted |
2 | pass | pass | pass | pass | pass | Two single-quoted parts |
3 | pass | pass | pass | pass | pass | Unquoted and single quoted |
4 | pass | pass | pass | pass | pass | newline inside single-quoted string |
5 | pass | pass | pass | pass | pass | Double-quoted |
6 | pass | pass | pass | pass | pass | Mix of quotes in one word |
7 | pass | pass | pass | pass | pass | Var substitution |
8 | pass | pass | pass | pass | pass | Var substitution with braces |
9 | pass | pass | pass | pass | pass | Var substitution with braces, quoted |
10 | pass | pass | pass | pass | pass | Var length |
11 | pass | pass | pass | pass | pass | Backslash escapes |
12 | pass | pass | pass | FAIL | FAIL | Backslash escapes inside double quoted string |
details | details | |||||
13 | BUG | pass | BUG | FAIL | FAIL | C-style backslash escapes inside double quoted string |
details | details | details | details | |||
14 | pass | pass | pass | pass | pass | Literal $ |
15 | pass | pass | pass | pass | pass | Quoted Literal $ |
16 | pass | pass | pass | pass | pass | Line continuation |
17 | pass | ok | ok | pass | pass | $? split over multiple lines |
details | details | |||||
18 | pass | pass | ok | pass | pass | Unterminated single quote |
details | ||||||
19 | pass | pass | ok | pass | pass | Unterminated double quote |
details | ||||||
20 | pass | pass | pass | pass | pass | Semicolon |
21 | BUG | pass | BUG | pass | pass | No tab escapes within single quotes |
details | details | |||||
22 | N-I | pass | pass | pass | pass | $'' |
details | ||||||
23 | N-I | pass | pass | FAIL | FAIL | $'' with newlines |
details | details | details | ||||
24 | N-I | pass | pass | pass | pass | $"" |
details | ||||||
25 | pass | pass | pass | FAIL | FAIL | printf |
details | details |
111 passed, 4 ok, 3 known unimplemented, 4 known bugs, 4 failed, 0 skipped
osh | 12 Backslash escapes inside double quoted string [osh stdout] Expected '$ \\ \\ \\p \\q\n', got '$ \\ \\ p q\n' stdout: $ \ \ p qstderr: |
osh_ALT | 12 Backslash escapes inside double quoted string [osh_ALT stdout] Expected '$ \\ \\ \\p \\q\n', got '$ \\ \\ p q\n' stdout: $ \ \ p qstderr: |
dash | 13 C-style backslash escapes inside double quoted string stdout: stderr: |
mksh | 13 C-style backslash escapes inside double quoted string stdout: stderr: |
osh | 13 C-style backslash escapes inside double quoted string [osh stdout] Expected '\\a \\b\n', got 'a b\n' stdout: a bstderr: |
osh_ALT | 13 C-style backslash escapes inside double quoted string [osh_ALT stdout] Expected '\\a \\b\n', got 'a b\n' stdout: a bstderr: |
bash | 17 $? split over multiple lines stdout: 0stderr: |
mksh | 17 $? split over multiple lines stdout: 0stderr: |
mksh | 18 Unterminated single quote stdout: stderr: /bin/mksh: <stdin>[2]: no closing quote |
mksh | 19 Unterminated double quote stdout: stderr: /bin/mksh: <stdin>[2]: no closing quote |
dash | 21 No tab escapes within single quotes stdout: a bstderr: |
mksh | 21 No tab escapes within single quotes stdout: a bstderr: |
dash | 22 $'' stdout: $foostderr: |
dash | 23 $'' with newlines stdout: $col1 col2 col3stderr: |
osh | 23 $'' with newlines [osh stdout] Expected u'col1\ncol2\ncol3\n', got 'col1\\ncol2\\ncol3\n' stdout: col1\ncol2\ncol3stderr: |
osh_ALT | 23 $'' with newlines [osh_ALT stdout] Expected u'col1\ncol2\ncol3\n', got 'col1\\ncol2\\ncol3\n' stdout: col1\ncol2\ncol3stderr: |
dash | 24 $"" stdout: $foostderr: |
osh | 25 printf [osh stdout] Expected u'c1\tc2\nc3\tc4\n', got 'c1tc2nc3tc4n' stdout: c1tc2nc3tc4nstderr: |
osh_ALT | 25 printf [osh_ALT stdout] Expected u'c1\tc2\nc3\tc4\n', got 'c1tc2nc3tc4n' stdout: c1tc2nc3tc4nstderr: |