spec test index / oilshell.org
status | dash | bash | mksh | zsh | ash | osh | |
pass | 16 | 24 | 16 | 20 | 19 | 23 | |
ok | 2 | 0 | 2 | 1 | 0 | 0 | |
N-I | 5 | 0 | 5 | 0 | 4 | 0 | |
BUG | 1 | 0 | 1 | 3 | 1 | 0 | |
FAIL | 0 | 0 | 0 | 0 | 0 | 1 | |
total | 24 | 24 | 24 | 24 | 24 | 24 | |
case | dash | bash | mksh | zsh | ash | osh | description |
0 | pass | pass | pass | pass | pass | pass | Remove const suffix |
1 | pass | pass | pass | pass | pass | pass | Remove const prefix |
2 | N-I | pass | N-I | pass | N-I | pass | Remove const suffix is vectorized on user array |
details | details | details | |||||
3 | N-I | pass | N-I | pass | N-I | pass | Remove const suffix is vectorized on $@ array |
details | details | details | |||||
4 | pass | pass | pass | pass | pass | pass | Remove const suffix from undefined |
5 | pass | pass | pass | pass | pass | pass | Remove shortest glob suffix |
6 | pass | pass | pass | pass | pass | pass | Remove longest glob suffix |
7 | pass | pass | pass | pass | pass | pass | Remove shortest glob prefix |
8 | pass | pass | pass | pass | pass | pass | Remove longest glob prefix |
9 | pass | pass | N-I | pass | pass | pass | Strip char class |
details | |||||||
10 | BUG | pass | BUG | BUG | BUG | FAIL | Strip unicode prefix |
details | details | details | details | details | |||
11 | pass | pass | pass | pass | pass | pass | Bug fix: Test that you can remove everything with glob |
12 | pass | pass | pass | pass | pass | pass | Test that you can remove everything with const |
13 | N-I | pass | N-I | pass | N-I | pass | Prepend using replacement of # |
details | details | details | |||||
14 | N-I | pass | N-I | pass | N-I | pass | Append using replacement of % |
details | details | details | |||||
15 | ok | pass | ok | BUG | pass | pass | strip unquoted and quoted [ |
details | details | details | |||||
16 | ok | pass | ok | ok | pass | pass | strip unquoted and quoted [] |
details | details | details | |||||
17 | pass | pass | pass | pass | pass | pass | strip unquoted and quoted ? |
18 | pass | pass | pass | pass | pass | pass | strip unquoted and quoted [a] |
19 | N-I | pass | pass | pass | pass | pass | Nested % and # operators (bug reported by Crestwave) |
details | |||||||
20 | pass | pass | pass | BUG | pass | pass | strip * (bug regression) |
details | |||||||
21 | pass | pass | pass | pass | pass | pass | strip ? |
22 | pass | pass | pass | pass | pass | pass | strip all |
23 | pass | pass | pass | pass | pass | pass | strip none |
118 passed, 5 OK, 14 not implemented, 6 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
dash | 2 Remove const suffix is vectorized on user array stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: Syntax error: "(" unexpected |
mksh | 2 Remove const suffix is vectorized on user array stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: ${a[@]%a}: bad substitution |
ash | 2 Remove const suffix is vectorized on user array stdout: stderr: _tmp/spec-bin/ash: syntax error: unexpected "(" |
dash | 3 Remove const suffix is vectorized on $@ array stdout: ['1a', '2a', '3']stderr: |
mksh | 3 Remove const suffix is vectorized on $@ array stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: ${@%a}: bad substitution |
ash | 3 Remove const suffix is vectorized on $@ array stdout: ['1a', '2a', '3']stderr: |
mksh | 9 Strip char class stdout: abcstderr: |
dash | 10 Strip unicode prefix stdout: '\xbc-\n'stderr: |
mksh | 10 Strip unicode prefix stdout: '\xbc-\n'stderr: |
zsh | 10 Strip unicode prefix stdout: stderr: |
ash | 10 Strip unicode prefix stdout: '\xbc-\n'stderr: |
osh | 10 Strip unicode prefix [osh stdout] Expected '-\n', got '\xbc-\n' stdout: '\xbc-\n'stderr: |
dash | 13 Prepend using replacement of # stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: Syntax error: "(" unexpected |
mksh | 13 Prepend using replacement of # stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: ${array[@]/#/prefix-}: bad substitution |
ash | 13 Prepend using replacement of # stdout: stderr: _tmp/spec-bin/ash: syntax error: unexpected "(" |
dash | 14 Append using replacement of % stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: Syntax error: "(" unexpected |
mksh | 14 Append using replacement of % stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[2]: ${array[@]/%/-suffix}: bad substitution |
ash | 14 Append using replacement of % stdout: stderr: _tmp/spec-bin/ash: syntax error: unexpected "(" |
dash | 15 strip unquoted and quoted [ stdout: [foo] foo] [foo] foo]stderr: |
mksh | 15 strip unquoted and quoted [ stdout: [foo] foo] [foo] foo]stderr: |
zsh | 15 strip unquoted and quoted [ stdout: stderr: zsh: bad pattern: [ |
dash | 16 strip unquoted and quoted [] stdout: []foo[] foo[] []foo[] foo[]stderr: |
mksh | 16 strip unquoted and quoted [] stdout: []foo[] foo[] []foo[] foo[]stderr: |
zsh | 16 strip unquoted and quoted [] stdout: []foo[] foo[] []foo[] foo[]stderr: |
dash | 19 Nested % and # operators (bug reported by Crestwave) stdout: ['\\n'] ['$\\n'] ['$'] [''] ['a'] ['a']stderr: |
zsh | 20 strip * (bug regression) stdout: ['abc'] [''] ['ab'] ['']stderr: |