spec test index / oilshell.org
status | dash | bash | mksh | ash | osh | |
pass | 22 | 32 | 26 | 31 | 34 | |
ok | 1 | 1 | 3 | 1 | 0 | |
N-I | 8 | 1 | 2 | 2 | 0 | |
BUG | 3 | 0 | 3 | 0 | 0 | |
total | 34 | 34 | 34 | 34 | 34 | |
case | dash | bash | mksh | ash | osh | 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 | BUG | pass | BUG | pass | pass | Storing backslashes and then echoing them |
details | details | |||||
12 | pass | pass | pass | pass | pass | Backslash escapes |
13 | pass | pass | pass | pass | pass | Backslash escapes inside double quoted string |
14 | BUG | pass | BUG | pass | pass | C-style backslash escapes inside double quoted string |
details | details | |||||
15 | pass | pass | pass | pass | pass | Literal $ |
16 | pass | pass | pass | pass | pass | Quoted Literal $ |
17 | pass | pass | pass | pass | pass | Line continuation |
18 | pass | pass | pass | pass | pass | Line continuation inside double quotes |
19 | ok | ok | ok | ok | pass | $? split over multiple lines |
details | details | details | details | |||
20 | pass | pass | ok | pass | pass | Unterminated single quote |
details | ||||||
21 | pass | pass | ok | pass | pass | Unterminated double quote |
details | ||||||
22 | pass | pass | pass | pass | pass | Semicolon |
23 | BUG | pass | BUG | pass | pass | No tab escapes within single quotes |
details | details | |||||
24 | N-I | pass | pass | pass | pass | $'' |
details | ||||||
25 | N-I | pass | pass | pass | pass | $'' with quotes |
details | ||||||
26 | N-I | pass | pass | pass | pass | $'' with newlines |
details | ||||||
27 | N-I | pass | pass | pass | pass | $'' octal escapes don't have leading 0 |
details | ||||||
28 | N-I | pass | pass | pass | pass | $'' octal escapes with fewer than 3 chars |
details | ||||||
29 | N-I | pass | N-I | pass | pass | OSH allows invalid backslashes |
details | details | |||||
30 | N-I | N-I | N-I | N-I | pass | YSH parse errors with parse_backslash |
details | details | details | details | |||
31 | pass | pass | pass | pass | pass | Oil allows unquoted foo\ bar |
32 | N-I | pass | pass | N-I | pass | $"" |
details | details | |||||
33 | pass | pass | pass | pass | pass | printf |
145 passed, 6 OK, 13 not implemented, 6 BUG, 0 failed, 0 timeouts, 0 cases skipped
dash | 11 Storing backslashes and then echoing them stdout: \ \ \ \stderr: |
mksh | 11 Storing backslashes and then echoing them stdout: \ \ \ \stderr: |
dash | 14 C-style backslash escapes inside double quoted string stdout: stderr: |
mksh | 14 C-style backslash escapes inside double quoted string stdout: stderr: |
dash | 19 $? split over multiple lines stdout: 0stderr: |
bash | 19 $? split over multiple lines stdout: 0stderr: |
mksh | 19 $? split over multiple lines stdout: 0stderr: |
ash | 19 $? split over multiple lines stdout: 0stderr: |
mksh | 20 Unterminated single quote stdout: stderr: mksh: <stdin>[2]: no closing quote |
mksh | 21 Unterminated double quote stdout: stderr: mksh: <stdin>[2]: no closing quote |
dash | 23 No tab escapes within single quotes stdout: a bstderr: |
mksh | 23 No tab escapes within single quotes stdout: a bstderr: |
dash | 24 $'' stdout: $foostderr: |
dash | 25 $'' with quotes stdout: stderr: dash: 2: Syntax error: Unterminated quoted string |
dash | 26 $'' with newlines stdout: $col1 col2 col3stderr: |
dash | 27 $'' octal escapes don't have leading 0 stdout: $ 001 $ 377stderr: |
dash | 28 $'' octal escapes with fewer than 3 chars stdout: $ 001 \t \t I \nstderr: |
dash | 29 OSH allows invalid backslashes stdout: stderr: |
mksh | 29 OSH allows invalid backslashes stdout: stderr: |
dash | 30 YSH parse errors with parse_backslash stdout: stderr: |
bash | 30 YSH parse errors with parse_backslash stdout: stderr: |
mksh | 30 YSH parse errors with parse_backslash stdout: stderr: |
ash | 30 YSH parse errors with parse_backslash stdout: stderr: |
dash | 32 $"" stdout: $foostderr: |
ash | 32 $"" stdout: $foostderr: |