spec test index / oilshell.org
76 passed, 0 ok, 9 known unimplemented, 3 known bugs, 1 failed, 0 skipped
osh-byterun | 0 Remove const suffix [osh-byterun stdout] Expected 'abc ab\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 Remove const prefix [osh-byterun stdout] Expected 'bcd cd\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 |
dash | 2 Remove const suffix is vectorized on user array stdout: stderr: _tmp/spec-bin/dash: 1: Syntax error: "(" unexpected |
mksh | 2 Remove const suffix is vectorized on user array stdout: stderr: _tmp/spec-bin/mksh: <stdin>[2]: ${a[@]%a}: bad substitution |
osh-byterun | 2 Remove const suffix is vectorized on user array [osh-byterun stdout] Expected "['1', '2', '3']\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 |
dash | 3 Remove const suffix is vectorized on $@ array stdout: ['1a', '2a', '3']stderr: |
mksh | 3 Remove const suffix is vectorized on $@ array stdout: stderr: _tmp/spec-bin/mksh: <stdin>[2]: ${@%a}: bad substitution |
osh-byterun | 3 Remove const suffix is vectorized on $@ array [osh-byterun stdout] Expected "['1', '2', '3']\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 Remove const suffix from undefined [osh-byterun stdout] Expected '\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 Remove shortest glob suffix [osh-byterun stdout] Expected 'aabbc\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 Remove longest glob suffix [osh-byterun stdout] Expected 'aabb\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 Remove shortest glob prefix [osh-byterun stdout] Expected 'bccdd\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 Remove longest glob prefix [osh-byterun stdout] Expected 'ccdd\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 | 9 Strip char class stdout: abcstderr: |
osh-byterun | 9 Strip char class [osh-byterun stdout] Expected 'ab\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 |
dash | 10 Strip unicode prefix stdout: '\xbc-\n'stderr: |
mksh | 10 Strip unicode prefix stdout: '\xbc-\n'stderr: |
zsh | 10 Strip unicode prefix stdout: stderr: |
osh | 10 Strip unicode prefix [osh stdout] Expected '-\n', got '\xbc-\n' stdout: '\xbc-\n'stderr: |
osh_ALT | 10 Strip unicode prefix [osh_ALT stdout] Expected '-\n', got '\xbc-\n' stdout: '\xbc-\n'stderr: |
osh-byterun | 10 Strip unicode prefix [osh-byterun stdout] Expected '-\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 Bug fix: Test that you can remove everything with glob [osh-byterun stdout] Expected "['', '--x-', '-x--', '']\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 Test that you can remove everything with const [osh-byterun stdout] Expected "['', '', '', '']\n['abcd', 'abcd', 'abcd', 'abcd']\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 |
dash | 13 Prepend using replacement of # stdout: stderr: _tmp/spec-bin/dash: 1: Syntax error: "(" unexpected |
mksh | 13 Prepend using replacement of # stdout: stderr: _tmp/spec-bin/mksh: <stdin>[2]: ${array[@]/#/prefix-}: bad substitution |
osh-byterun | 13 Prepend using replacement of # [osh-byterun stdout] Expected "['prefix-aa', 'prefix-bb', 'prefix-']\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 |
dash | 14 Append using replacement of % stdout: stderr: _tmp/spec-bin/dash: 1: Syntax error: "(" unexpected |
mksh | 14 Append using replacement of % stdout: stderr: _tmp/spec-bin/mksh: <stdin>[2]: ${array[@]/%/-suffix}: bad substitution |
osh-byterun | 14 Append using replacement of % [osh-byterun stdout] Expected "['aa-suffix', 'bb-suffix', '-suffix']\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 |