spec test index / oilshell.org
89 passed, 3 ok, 2 known unimplemented, 2 known bugs, 0 failed, 0 skipped
osh-byterun | 0 @ matches exactly one [osh-byterun stdout] Expected 'TRUE\nFALSE\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 @() with variable arms [osh-byterun stdout] Expected 'TRUE\nFALSE\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 |
mksh | 2 extglob in variable stdout: FALSE FALSE FALSEstderr: _tmp/spec-bin/mksh: <stdin>[1]: shopt: not found |
osh-byterun | 2 extglob in variable [osh-byterun stdout] Expected 'TRUE\nTRUE\nFALSE\nFALSE\nFALSE\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 |
mksh | 3 nested @() stdout: FALSEstderr: _tmp/spec-bin/mksh: <stdin>[1]: shopt: not found |
osh-byterun | 3 nested @() [osh-byterun stdout] Expected 'TRUE\nTRUE\nTRUE\nFALSE\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 | 4 nested @() with quotes and vars [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 | 5 ? matches 0 or 1 [osh-byterun stdout] Expected 'TRUE\nFALSE\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 | 6 + matches 1 or more [osh-byterun stdout] Expected 'TRUE\nFALSE\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 * matches 0 or more [osh-byterun stdout] Expected 'TRUE\nFALSE\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 | 8 simple repetition with *(foo) and +(Foo) [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 |
osh-byterun | 9 ! matches none [osh-byterun stdout] Expected 'TRUE\nFALSE\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 | 10 match is anchored [osh-byterun stdout] Expected 'FALSE\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 |
osh-byterun | 11 repeated match is anchored [osh-byterun stdout] Expected 'FALSE\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 |
osh-byterun | 12 repetition with glob [osh-byterun stdout] Expected 'TRUE\nFALSE\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 | 13 No brace expansion in == [osh-byterun stdout] Expected 'TRUE\nFALSE\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 | 14 adjacent extglob [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 |
osh-byterun | 15 nested extglob [osh-byterun stdout] Expected 'TRUE\nTRUE\nTRUE\nFALSE\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 | 16 extglob empty string [osh-byterun stdout] Expected 'FALSE\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 |
osh-byterun | 17 extglob empty pattern [osh-byterun stdout] Expected 'TRUE\nTRUE\nFALSE\nFALSE\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 | 18 case with extglob [osh-byterun stdout] Expected 'A\nA\nU\nB\nC\nD\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 | 19 Without shopt -s extglob [osh-byterun stdout] Expected 'TRUE\nFALSE\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 |
mksh | 20 Turning extglob on changes the meaning of [[ !(str) ]] in bash stdout: TRUE TRUE TRUEstderr: _tmp/spec-bin/mksh: <stdin>[5]: shopt: not found |
osh | 20 Turning extglob on changes the meaning of [[ !(str) ]] in bash stdout: TRUE TRUE TRUEstderr: |
osh_ALT | 20 Turning extglob on changes the meaning of [[ !(str) ]] in bash stdout: TRUE TRUE TRUEstderr: |
osh-byterun | 20 Turning extglob on changes the meaning of [[ !(str) ]] in bash [osh-byterun stdout] Expected 'TRUE\nTRUE\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 |
osh-byterun | 21 With extglob on, !($str) on the left or right of == has different meanings [osh-byterun stdout] Expected 'TRUE\nFALSE\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 |
mksh | 22 extglob inside arg word stdout: TRUE FALSEstderr: _tmp/spec-bin/mksh: <stdin>[1]: shopt: not found |
osh-byterun | 22 extglob inside arg word [osh-byterun stdout] Expected 'TRUE\nTRUE\nFALSE\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 |
mksh | 23 extglob is not detected in regex! stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: shopt: not found _tmp/spec-bin/mksh: <stdin>[2]: syntax error: '=~' unexpected operator/operand |
osh-byterun | 23 extglob is not detected in regex! [osh-byterun stdout] Expected 'FALSE\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 |