spec test index / oilshell.org
| case | dash | bash | mksh | zsh | osh | description |
| 0 | pass | pass | pass | pass | pass | String length |
| 1 | N-I | pass | N-I | pass | pass | Unicode string length (UTF-8) |
| details | details | |||||
| 2 | N-I | pass | N-I | pass | pass | Unicode string length (spec/testdata/utf8-chars.txt) |
| details | details | |||||
| 3 | N-I | BUG | N-I | BUG | pass | String length with incomplete utf-8 |
| details | details | details | details | |||
| 4 | N-I | BUG | N-I | BUG | pass | String length with invalid utf-8 continuation bytes |
| details | details | details | details | |||
| 5 | pass | pass | pass | pass | pass | Length of undefined variable |
| 6 | ok | pass | pass | pass | pass | Length of undefined variable with nounset |
| details |
22 passed, 1 ok, 8 known unimplemented, 4 known bugs, 0 failed, 0 skipped
| dash | 1 Unicode string length (UTF-8) stdout: 9stderr: |
| mksh | 1 Unicode string length (UTF-8) stdout: 4stderr: |
| dash | 2 Unicode string length (spec/testdata/utf8-chars.txt) stdout: 13stderr: |
| mksh | 2 Unicode string length (spec/testdata/utf8-chars.txt) stdout: 13stderr: |
| dash | 3 String length with incomplete utf-8 stdout: 0 1 2 3 4 5 6 7 8 9 10 11 12 13stderr: |
| bash | 3 String length with incomplete utf-8 stdout: 0 1 2 3 3 4 5 6 5 6 7 8 9 7stderr: |
| mksh | 3 String length with incomplete utf-8 stdout: 0 1 2 3 4 5 6 7 8 9 10 11 12 13stderr: |
| zsh | 3 String length with incomplete utf-8 stdout: 0 1 2 3 3 4 5 6 5 6 7 8 9 7stderr: |
| dash | 4 String length with invalid utf-8 continuation bytes stdout: 7 8 9 10 11 12 13 14 15 16 17 18 19 20 20stderr: |
| bash | 4 String length with invalid utf-8 continuation bytes stdout: 1 2 3 4 4 5 6 7 6 7 8 9 10 8 8stderr: |
| mksh | 4 String length with invalid utf-8 continuation bytes stdout: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 14stderr: |
| zsh | 4 String length with invalid utf-8 continuation bytes stdout: 1 2 3 4 4 5 6 7 6 7 8 9 10 8 8stderr: |
| dash | 6 Length of undefined variable with nounset stdout: stderr: _tmp/spec-bin/dash: 2: undef: parameter not set |