spec test index / oilshell.org
65 passed, 3 ok, 17 known unimplemented, 6 known bugs, 2 failed, 0 skipped
dash | 2 Length of undefined variable with nounset stdout: stderr: /bin/dash: 2: undef: parameter not set |
dash | 3 Cannot take length of substring slice stdout: 5stderr: |
osh | 3 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 | 3 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 | 4 Pattern replacement stdout: stderr: /bin/dash: 2: Bad substitution |
dash | 5 Pattern replacement on unset variable stdout: stderr: /bin/dash: 1: Bad substitution |
mksh | 5 Pattern replacement on unset variable stdout: [] status=0 []stderr: |
dash | 6 Global Pattern replacement with / stdout: stderr: /bin/dash: 2: Bad substitution |
dash | 7 Left Anchored Pattern replacement with # stdout: stderr: /bin/dash: 2: Bad substitution |
dash | 8 Right Anchored Pattern replacement with % stdout: stderr: /bin/dash: 2: Bad substitution |
dash | 9 Replace fixed strings stdout: stderr: /bin/dash: 2: Bad substitution |
dash | 10 Replace is longest match stdout: stderr: /bin/dash: 2: Bad substitution |
dash | 11 Replace char class stdout: stderr: /bin/dash: 2: Bad substitution |
mksh | 11 Replace char class stdout: xx_xx_xx xx_xx_xxstderr: |
osh | 11 Replace char class [osh stdout] Expected 'yy_yy_yy xx-xx-xx\n', got '' [osh status] Expected 0, got 1 stdout: stderr: *** Error has no source location info *** osh failed: Can't convert glob to regex: '[[:alpha:]]' |
osh_ALT | 11 Replace char class [osh_ALT stdout] Expected 'yy_yy_yy xx-xx-xx\n', got '' [osh_ALT status] Expected 0, got 1 stdout: stderr: *** Error has no source location info *** osh failed: Can't convert glob to regex: '[[:alpha:]]' |
dash | 12 Pattern replacement ${v/} is not valid stdout: stderr: /bin/dash: 2: Bad substitution |
bash | 12 Pattern replacement ${v/} is not valid stdout: -abcde- status=0stderr: |
mksh | 12 Pattern replacement ${v/} is not valid stdout: -abcde- status=0stderr: |
dash | 13 Pattern replacement ${v//} is not valid stdout: stderr: /bin/dash: 2: Bad substitution |
bash | 13 Pattern replacement ${v//} is not valid stdout: -a/b/c- status=0stderr: |
mksh | 13 Pattern replacement ${v//} is not valid stdout: -a/b/c- status=0stderr: |
dash | 14 ${v/a} is the same as ${v/a/} -- no replacement string stdout: stderr: /bin/dash: 2: Bad substitution |
dash | 15 String slice stdout: stderr: /bin/dash: 2: Bad substitution |
dash | 16 Negative string slice stdout: stderr: /bin/dash: 2: Bad substitution |
dash | 17 String slice with math stdout: stderr: /bin/dash: 3: Bad substitution |
dash | 18 Slice String with Unicode stdout: stderr: /bin/dash: 2: Bad substitution |
mksh | 18 Slice String with Unicode stdout: -μstderr: |
osh | 18 Slice String with Unicode [osh stdout] Expected '-\xce\xbc-\n', got '-\xce\xbc\n' stdout: -μstderr: |
osh_ALT | 18 Slice String with Unicode [osh_ALT stdout] Expected '-\xce\xbc-\n', got '-\xce\xbc\n' stdout: -μstderr: |