spec test index / oilshell.org
case | dash | bash | mksh | zsh | ash | osh | description |
0 | pass | pass | pass | pass | pass | pass | echo keyword |
1 | pass | pass | pass | pass | pass | pass | if/else |
2 | N-I | pass | pass | pass | N-I | pass | Turn an array into an integer. |
details | details | ||||||
3 | N-I | pass | pass | pass | pass | FAIL | Nested % and # operators (looks like a bug, reported by Crestwave) |
details | details | ||||||
4 | ok | pass | pass | pass | ok | FAIL | # operator with single quoted arg (dash/ash and bash/mksh disagree, reported by Crestwave) |
details | details | details | |||||
5 | N-I | pass | pass | pass | BUG | ok | / operator with single quoted arg (causes syntax error in regex in OSH, reported by Crestwave) |
details | details | details |
26 passed, 3 ok, 4 known unimplemented, 1 known bugs, 2 failed, 0 skipped
dash | 2 Turn an array into an integer. stdout: stderr: _tmp/spec-bin/dash: 1: Syntax error: "(" unexpected |
ash | 2 Turn an array into an integer. stdout: stderr: _tmp/spec-bin/ash: syntax error: unexpected "(" |
dash | 3 Nested % and # operators (looks like a bug, reported by Crestwave) stdout: ['\\n'] ['$\\n'] ['$'] [''] ['a'] ['a']stderr: |
osh | 3 Nested % and # operators (looks like a bug, reported by Crestwave) [osh stdout] Expected "['']\n['\\n']\n['\\n']\n['']\n['a']\n['a']\n", got "['']\n['\\n']\n['']\n['']\n['a']\n['']\n" stdout: [''] ['\n'] [''] [''] ['a'] ['']stderr: |
dash | 4 # operator with single quoted arg (dash/ash and bash/mksh disagree, reported by Crestwave) stdout: -- -a- -'a'- --stderr: |
ash | 4 # operator with single quoted arg (dash/ash and bash/mksh disagree, reported by Crestwave) stdout: -- -a- -'a'- --stderr: |
osh | 4 # operator with single quoted arg (dash/ash and bash/mksh disagree, reported by Crestwave) [osh stdout] Expected "--\n--\n-'a'-\n-'a'-\n", got "--\n-a-\n-'a'-\n--\n" stdout: -- -a- -'a'- --stderr: |
dash | 5 / operator with single quoted arg (causes syntax error in regex in OSH, reported by Crestwave) stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
ash | 5 / operator with single quoted arg (causes syntax error in regex in OSH, reported by Crestwave) stdout: no plus or minus '''' no plus or minus ++--++--stderr: |
osh | 5 / operator with single quoted arg (causes syntax error in regex in OSH, reported by Crestwave) stdout: no plus or minus ''''stderr: echo no plus or minus "${var//['+-']}" ^ [ stdin ]:3: fatal: Error matching regex "(['+-'])": Invalid regex syntax (func_regex_first_group_match) |