spec test index / oilshell.org
174 passed, 3 OK, 5 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 4 failed under osh
dash | 2 array with empty values stdout: stderr: dash: 1: Syntax error: "(" unexpected |
mksh | 2 array with empty values stdout: stderr: mksh: <stdin>[1]: syntax error: '(' unexpected |
mksh | 31 Syntax error for single quote in double quote stdout: stderr: mksh: <stdin>[3]: no closing quote |
osh | 31 Syntax error for single quote in double quote [osh stdout] Expected u'', got '["\'a b c "]\n' [osh status] Expected 2, got 0 stdout: ["'a b c "]stderr: |
osh_ALT | 31 Syntax error for single quote in double quote [osh_ALT stdout] Expected u'', got '["\'a b c "]\n' [osh_ALT status] Expected 2, got 0 stdout: ["'a b c "]stderr: |
osh | 32 The string to strip can be single quoted, outer is double quoted [osh stdout] Expected "['a b ', 'a b c d']\n", got "['a b c d', 'a b c d']\n" stdout: ['a b c d', 'a b c d']stderr: |
osh_ALT | 32 The string to strip can be single quoted, outer is double quoted [osh_ALT stdout] Expected "['a b ', 'a b c d']\n", got "['a b c d', 'a b c d']\n" stdout: ['a b c d', 'a b c d']stderr: |
dash | 33 $'' allowed within VarSub arguments stdout: abc abcstderr: |
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: 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: 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: |