spec test index / oilshell.org
81 passed, 6 ok, 4 known unimplemented, 6 known bugs, 2 failed, 0 skipped
zsh | 0 BASH_REMATCH stdout: ['']stderr: |
osh-byterun | 0 BASH_REMATCH [osh-byterun stdout] Expected "['foo123', 'foo', '123']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 1 Match is unanchored at both ends [osh-byterun stdout] Expected 'true\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 3 Regex quoted with \ -- preferred in bash [osh-byterun stdout] Expected 'true\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
zsh | 4 Regex quoted with single quotes stdout: truestderr: |
zsh | 5 Regex quoted with double quotes stdout: truestderr: |
osh-byterun | 6 Fix single quotes by storing in variable [osh-byterun stdout] Expected 'true\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 7 Fix single quotes by storing in variable [osh-byterun stdout] Expected 'true\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
zsh | 8 Double quoting pat variable -- again bash doesn't like it. stdout: truestderr: |
osh-byterun | 9 Mixing quoted and unquoted parts [osh-byterun stdout] Expected 'true\ntrue\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
zsh | 10 Regex with == and not =~ is parse error, different lexer mode required stdout: stderr: |
osh-byterun | 10 Regex with == and not =~ is parse error, different lexer mode required [osh-byterun status] Expected 2, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 11 Omitting ( ) [osh-byterun stdout] Expected 'true\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
zsh | 12 Malformed regex stdout: stderr: zsh: parse error near `)' |
osh-byterun | 12 Malformed regex [osh-byterun status] Expected 2, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh | 13 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 | 13 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 | 13 Regex with char class containing space [osh-byterun stdout] Expected 'true\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
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: Line 1 of '<stdin>' [[ '< >' =~ (< >) ]] && echo true ^ Expected ]] |
osh_ALT | 14 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 | 14 Operators and space lose meaning inside () [osh-byterun stdout] Expected 'true\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
zsh | 15 Regex with | stdout: stderr: zsh: parse error near `|' |
osh-byterun | 15 Regex with | [osh-byterun stdout] Expected 'true\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
zsh | 16 Regex to match literal brackets [] stdout: truestderr: zsh: failed to compile regex: Unmatched [ or [^ |
osh-byterun | 16 Regex to match literal brackets [] [osh-byterun stdout] Expected 'true\ntrue\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
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 |
osh-byterun | 17 Regex to match literals . ^ $ etc. [osh-byterun stdout] Expected 'false\ntrue\nfalse\ntrue\nfalse\ntrue\nfalse\ntrue\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
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 |
osh-byterun | 18 Unquoted { is a regex parse error [osh-byterun status] Expected 2, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
bash | 19 Fatal error inside [[ =~ ]] stdout: status=1stderr: _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 |
osh-byterun | 20 Quoted { [osh-byterun stdout] Expected 'true\nstatus=0\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
zsh | 21 Escaped { stdout: stderr: zsh: failed to compile regex: Invalid preceding regular expression |
osh-byterun | 21 Escaped { [osh-byterun stdout] Expected "['$PA', '$', 'PA']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
zsh | 22 Escaped { stored in variable first stdout: ['']stderr: |
osh-byterun | 22 Escaped { stored in variable first [osh-byterun stdout] Expected "['$PA', '$', 'PA']\n", got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 23 regex with ? [osh-byterun stdout] Expected 'true\ntrue\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |