spec test index / oilshell.org
status | dash | bash | mksh | ash | osh | |
pass | 22 | 30 | 25 | 30 | 31 | |
ok | 0 | 1 | 3 | 0 | 0 | |
N-I | 6 | 0 | 0 | 1 | 0 | |
BUG | 3 | 0 | 3 | 0 | 0 | |
total | 31 | 31 | 31 | 31 | 31 | |
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 | pass | ok | ok | pass | pass | $? split over multiple lines |
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 | pass | N-I | pass | $"" |
details | details | |||||
30 | pass | pass | pass | pass | pass | printf |
138 passed, 4 OK, 7 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: |
bash | 19 $? split over multiple lines stdout: 0stderr: |
mksh | 19 $? split over multiple lines stdout: 0stderr: |
mksh | 20 Unterminated single quote stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: no closing quote |
mksh | 21 Unterminated double quote stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/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: /home/andy/git/oilshell/oil/_tmp/spec-bin/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 $"" stdout: $foostderr: |
ash | 29 $"" stdout: $foostderr: |