spec test index / oilshell.org
174 passed, 3 OK, 5 not implemented, 4 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
dash | 2 array with empty values stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: Syntax error: "(" unexpected |
mksh | 2 array with empty values stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: syntax error: '(' unexpected |
bash | 31 Strip a string with single quotes, double quoted, with unescaped ' stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 2: unexpected EOF while looking for matching `'' /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 3: syntax error: unexpected end of file |
mksh | 31 Strip a string with single quotes, double quoted, with unescaped ' stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[3]: no closing quote |
bash | 32 The string to strip can be single quoted, outer is double quoted stdout: ['a b ', 'a b c d']stderr: |
mksh | 32 The string to strip can be single quoted, outer is double quoted stdout: ['a b ', 'a b c d']stderr: |
dash | 33 $'' allowed within VarSub arguments stdout: abc abcstderr: |
dash | 34 # operator with single quoted arg (dash/ash and bash/mksh disagree, reported by Crestwave) stdout: -- -a- -'a'- --stderr: |
osh | 34 # 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: |
osh_ALT | 34 # operator with single quoted arg (dash/ash and bash/mksh disagree, reported by Crestwave) [osh_ALT stdout] Expected "--\n--\n-'a'-\n-'a'-\n", got "--\n-a-\n-'a'-\n--\n" stdout: -- -a- -'a'- --stderr: |
dash | 35 / operator with single quoted arg (causes syntax error in regex in OSH, reported by Crestwave) stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: Bad substitution |
osh | 35 / 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) |
osh_ALT | 35 / 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) |
dash | 36 single quotes work inside character classes stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: Bad substitution |
osh | 36 single quotes work inside character classes [osh stdout] Expected 'a---b\n', got 'a[[[---]]]b\n' stdout: a[[[---]]]bstderr: |
osh_ALT | 36 single quotes work inside character classes [osh_ALT stdout] Expected 'a---b\n', got 'a[[[---]]]b\n' stdout: a[[[---]]]bstderr: |