spec test index / oilshell.org
54 passed, 6 OK, 4 not implemented, 6 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
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 | 10 Regex with == and not =~ is parse error, different lexer mode required stdout: stderr: |
zsh | 12 Malformed regex stdout: stderr: zsh: parse error near `)' |
osh | 13 Regex with char class containing space [osh stdout] Expected 'true\n', got '' [osh status] Expected 0, got 2 stdout: stderr: [[ 'ba ba ' =~ ([a b]+) ]] && echo true ^ [ stdin ]:1: Expected ]] |
zsh | 14 Operators and space lose meaning inside () stdout: stderr: zsh: parse error near `<' |
osh | 14 Operators and space lose meaning inside () [osh stdout] Expected 'true\n', got '' [osh status] Expected 0, got 2 stdout: stderr: [[ '< >' =~ (< >) ]] && echo true ^ [ stdin ]:1: Expected ]] |
zsh | 15 Regex with | stdout: stderr: zsh: parse error near `|' |
zsh | 16 Regex to match literal brackets [] stdout: truestderr: zsh: failed to compile regex: Unmatched [ or [^ |
zsh | 17 Regex to match literals . ^ $ etc. stdout: true false false falsestderr: zsh: failed to compile regex: Invalid preceding regular expression zsh: failed to compile regex: Invalid preceding regular expression zsh: failed to compile regex: Invalid preceding regular expression zsh: failed to compile regex: Invalid preceding regular expression |
bash | 18 Unquoted { is a regex parse error stdout: status=2stderr: |
zsh | 18 Unquoted { is a regex parse error stdout: status=1stderr: zsh: failed to compile regex: Invalid preceding regular expression |
bash | 19 Fatal error inside [[ =~ ]] stdout: status=1stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 1: 1 / 0 : division by 0 (error token is "0 ") |
zsh | 20 Quoted { stdout: status=1stderr: zsh: failed to compile regex: Invalid preceding regular expression |
zsh | 21 Escaped { stdout: stderr: zsh: failed to compile regex: Invalid preceding regular expression |
zsh | 22 Escaped { stored in variable first stdout: ['']stderr: |