spec test index / oilshell.org
status | bash | dash | mksh | zsh | osh | |
pass | 13 | 9 | 11 | 10 | 12 | |
ok | 0 | 0 | 1 | 1 | 1 | |
N-I | 0 | 3 | 0 | 1 | 0 | |
BUG | 0 | 1 | 1 | 1 | 0 | |
total | 13 | 13 | 13 | 13 | 13 | |
case | bash | dash | mksh | zsh | osh | description |
0 | pass | pass | pass | pass | pass | Case statement |
1 | pass | N-I | pass | N-I | pass | Case statement with ;;& |
details | details | |||||
2 | pass | N-I | pass | pass | pass | Case statement with ;& |
details | ||||||
3 | pass | pass | pass | pass | pass | Case with empty condition |
4 | pass | pass | pass | pass | pass | Match a literal with a glob character |
5 | pass | pass | pass | BUG | pass | Match a literal with a glob character with a dynamic pattern |
details | ||||||
6 | pass | pass | pass | pass | pass | Quoted literal in glob pattern |
7 | pass | pass | pass | pass | pass | Multiple Patterns Match |
8 | pass | BUG | BUG | pass | pass | Pattern ? matches 1 code point (many bytes), but not multiple code points |
details | details | |||||
9 | pass | pass | pass | pass | ok | matching the byte 0xff against empty string - DISABLED - CI only bug? |
details | ||||||
10 | pass | pass | pass | pass | pass | matching every byte against itself |
11 | pass | N-I | pass | pass | pass | \(\) in pattern (regression) |
details | ||||||
12 | pass | pass | ok | ok | pass | case \n bug regression |
details | details |
55 passed, 3 OK, 4 not implemented, 3 BUG, 0 failed, 0 timeouts, 0 cases skipped
dash | 1 Case statement with ;;& stdout: stderr: dash: 3: Syntax error: newline unexpected (expecting ")") |
zsh | 1 Case statement with ;;& stdout: stderr: zsh: parse error near `&' zsh: parse error near `)' zsh: parse error near `)' zsh: parse error near `esac' |
dash | 2 Case statement with ;& stdout: stderr: dash: 3: Syntax error: "&" unexpected |
zsh | 5 Match a literal with a glob character with a dynamic pattern stdout: stderr: |
dash | 8 Pattern ? matches 1 code point (many bytes), but not multiple code points stdout: yes no nostderr: |
mksh | 8 Pattern ? matches 1 code point (many bytes), but not multiple code points stdout: yes no nostderr: |
osh | 9 matching the byte 0xff against empty string - DISABLED - CI only bug? stdout: soil-ci-buster-slim-bugstderr: |
dash | 11 \(\) in pattern (regression) stdout: matchstderr: |
mksh | 12 case \n bug regression stdout: stderr: mksh: <stdin>[1]: syntax error: 'newline' unexpected |
zsh | 12 case \n bug regression stdout: stderr: zsh: parse error near `\n' zsh: command not found: in |