spec test index / oilshell.org
79 passed, 5 ok, 5 known unimplemented, 2 known bugs, 3 failed, 0 skipped
zsh | 0 BASH_REMATCH stdout: ['']stderr: |
zsh | 4 Regex quoted with single quotes stdout: truestderr: |
zsh | 5 Regex quoted with double quotes stdout: truestderr: |
zsh | 8 Double quoting pat variable -- again bash doesn't like it. stdout: truestderr: |
zsh | 9 Regex with == and not =~ is parse error, different lexer mode required stdout: stderr: |
zsh | 11 Malformed regex stdout: stderr: zsh: parse error near `)' |
osh | 12 Regex with char class containing space [osh stdout] Expected 'true\n', got '' [osh status] Expected 0, got 2 stdout: stderr: Line 1 of '<stdin>' [[ 'ba ba ' =~ ([a b]+) ]] && echo true ^ Expected ]] |
osh_ALT | 12 Regex with char class containing space [osh_ALT stdout] Expected 'true\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: Line 1 of '<stdin>' [[ 'ba ba ' =~ ([a b]+) ]] && echo true ^ Expected ]] |
osh-byterun | 12 Regex with char class containing space [osh-byterun stdout] Expected 'true\n', got '' [osh-byterun status] Expected 0, got 2 stdout: stderr: Line 1 of '<stdin>' [[ 'ba ba ' =~ ([a b]+) ]] && echo true ^ Expected ]] |
zsh | 13 Operators and space lose meaning inside () stdout: stderr: zsh: parse error near `<' |
osh | 13 Operators and space lose meaning inside () [osh stdout] Expected 'true\n', got '' [osh status] Expected 0, got 2 stdout: stderr: Line 1 of '<stdin>' [[ '< >' =~ (< >) ]] && echo true ^ Expected ]] |
osh_ALT | 13 Operators and space lose meaning inside () [osh_ALT stdout] Expected 'true\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: Line 1 of '<stdin>' [[ '< >' =~ (< >) ]] && echo true ^ Expected ]] |
osh-byterun | 13 Operators and space lose meaning inside () [osh-byterun stdout] Expected 'true\n', got '' [osh-byterun status] Expected 0, got 2 stdout: stderr: Line 1 of '<stdin>' [[ '< >' =~ (< >) ]] && echo true ^ Expected ]] |
zsh | 14 Regex with | stdout: stderr: zsh: parse error near `|' |
zsh | 15 Unquoted { is parse error in bash/zsh stdout: status=1stderr: zsh: failed to compile regex: Invalid preceding regular expression |
osh | 15 Unquoted { is parse error in bash/zsh [osh stdout] Expected 'status=2\n', got '' [osh status] Expected 0, got 2 stdout: stderr: Line 1 of '<stdin>' [[ { =~ { ]] && echo true ^ Invalid regex '{' |
osh_ALT | 15 Unquoted { is parse error in bash/zsh [osh_ALT stdout] Expected 'status=2\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: Line 1 of '<stdin>' [[ { =~ { ]] && echo true ^ Invalid regex '{' |
osh-byterun | 15 Unquoted { is parse error in bash/zsh [osh-byterun stdout] Expected 'status=2\n', got '' [osh-byterun status] Expected 0, got 2 stdout: stderr: Line 1 of '<stdin>' [[ { =~ { ]] && echo true ^ Invalid regex '{' |
zsh | 16 Quoted { stdout: status=1stderr: zsh: failed to compile regex: Invalid preceding regular expression |
zsh | 17 Escaped { stdout: stderr: zsh: failed to compile regex: Invalid preceding regular expression |
zsh | 18 Escaped { stored in variable first stdout: ['']stderr: |