spec test index / oilshell.org
103 passed, 4 ok, 26 known unimplemented, 8 known bugs, 1 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: |
| 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: |
| dash | 6 Length of undefined variable with nounset stdout: stderr: _tmp/spec-bin/dash: 2: undef: parameter not set |
| dash | 7 Cannot take length of substring slice stdout: 5stderr: |
| osh | 7 Cannot take length of substring slice stdout: stderr: Line 3 of '<stdin>'
echo ${#v:1:3}
^
Expected } after length expression, got (token id:VOp2_Colon val:':' span_id:8)
---
Line 3 of '<stdin>'
echo ${#v:1:3}
^
Error reading command word
---
*** Error has no source location info ***
Error parsing AndOr in ParseCommandTerm
---
|
| osh_ALT | 7 Cannot take length of substring slice stdout: stderr: Line 3 of '<stdin>'
echo ${#v:1:3}
^
Expected } after length expression, got (token id:VOp2_Colon val:':' span_id:8)
---
Line 3 of '<stdin>'
echo ${#v:1:3}
^
Error reading command word
---
*** Error has no source location info ***
Error parsing AndOr in ParseCommandTerm
---
|
| osh-byterun | 7 Cannot take length of substring slice stdout: stderr: Line 3 of '<stdin>'
echo ${#v:1:3}
^
Expected } after length expression, got (token id:VOp2_Colon val:':' span_id:8)
---
Line 3 of '<stdin>'
echo ${#v:1:3}
^
Error reading command word
---
*** Error has no source location info ***
Error parsing AndOr in ParseCommandTerm
---
|
| dash | 8 Pattern replacement stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| dash | 9 Pattern replacement on unset variable stdout: stderr: _tmp/spec-bin/dash: 1: Bad substitution |
| mksh | 9 Pattern replacement on unset variable stdout: [] status=0 []stderr: |
| dash | 10 Global Pattern replacement with / stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| dash | 11 Left Anchored Pattern replacement with # stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| dash | 12 Right Anchored Pattern replacement with % stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| dash | 13 Replace fixed strings stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| dash | 14 Replace is longest match stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| dash | 15 Replace char class stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| mksh | 15 Replace char class stdout: xx_xx_xx xx_xx_xxstderr: |
| dash | 16 Replace hard glob stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| dash | 17 Pattern replacement ${v/} is not valid stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| bash | 17 Pattern replacement ${v/} is not valid stdout: -abcde- status=0stderr: |
| mksh | 17 Pattern replacement ${v/} is not valid stdout: -abcde- status=0stderr: |
| dash | 18 Pattern replacement ${v//} is not valid stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| bash | 18 Pattern replacement ${v//} is not valid stdout: -a/b/c- status=0stderr: |
| mksh | 18 Pattern replacement ${v//} is not valid stdout: -a/b/c- status=0stderr: |
| dash | 19 ${v/a} is the same as ${v/a/} -- no replacement string stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| dash | 20 String slice stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| dash | 21 Negative string slice stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| dash | 22 String slice with math stdout: stderr: _tmp/spec-bin/dash: 3: Bad substitution |
| dash | 23 Slice String with Unicode stdout: stderr: _tmp/spec-bin/dash: 2: Bad substitution |
| mksh | 23 Slice String with Unicode stdout: -μstderr: |
| osh | 23 Slice String with Unicode [osh stdout] Expected '-\xce\xbc-\n', got '-\xce\xbc\n' stdout: -μstderr: |
| osh_ALT | 23 Slice String with Unicode [osh_ALT stdout] Expected '-\xce\xbc-\n', got '-\xce\xbc\n' stdout: -μstderr: |
| osh-byterun | 23 Slice String with Unicode [osh-byterun stdout] Expected '-\xce\xbc-\n', got '-\xce\xbc\n' stdout: -μstderr: |