spec test index / oilshell.org
case | dash | bash | mksh | osh | osh_ALT | osh-byterun | description |
0 | pass | pass | pass | pass | pass | FAIL | Case statement |
details | |||||||
1 | N-I | pass | pass | FAIL | FAIL | FAIL | Case statement with ;;& |
details | details | details | details | ||||
2 | N-I | pass | pass | FAIL | FAIL | FAIL | Case statement with ;& |
details | details | details | details | ||||
3 | pass | pass | pass | pass | pass | FAIL | Case with empty condition |
details | |||||||
4 | pass | pass | pass | pass | pass | FAIL | Match a literal with a glob character |
details | |||||||
5 | pass | pass | pass | pass | pass | FAIL | Match a literal with a glob character with a dynamic pattern |
details | |||||||
6 | pass | pass | pass | pass | pass | FAIL | Quoted literal in glob pattern |
details | |||||||
7 | pass | pass | pass | pass | pass | FAIL | Multiple Patterns Match |
details |
34 passed, 0 ok, 2 known unimplemented, 0 known bugs, 2 failed, 0 skipped
osh-byterun | 0 Case statement [osh-byterun stdout] Expected 'A\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 | 1 Case statement with ;;& stdout: stderr: _tmp/spec-bin/dash: 3: Syntax error: newline unexpected (expecting ")") |
osh | 1 Case statement with ;;& [osh stdout] Expected u'A\nstar\nstar2\n', got '' [osh status] Expected 0, got 2 stdout: stderr: Line 2 of '<stdin>' a) echo A ;;& ^ Expected word type <Id_t KW_Esac 209>, got <Id_t Op_Amp 38> |
osh_ALT | 1 Case statement with ;;& [osh_ALT stdout] Expected u'A\nstar\nstar2\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: Line 2 of '<stdin>' a) echo A ;;& ^ Expected word type <Id_t KW_Esac 209>, got <Id_t Op_Amp 38> |
osh-byterun | 1 Case statement with ;;& [osh-byterun stdout] Expected u'A\nstar\nstar2\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 Case statement with ;& stdout: stderr: _tmp/spec-bin/dash: 2: Syntax error: "&" unexpected |
osh | 2 Case statement with ;& [osh stdout] Expected u'A\ntwo\nthree\n', got '' [osh status] Expected 0, got 2 stdout: stderr: Line 2 of '<stdin>' a) echo A ;& ^ Invalid word while parsing command |
osh_ALT | 2 Case statement with ;& [osh_ALT stdout] Expected u'A\ntwo\nthree\n', got '' [osh_ALT status] Expected 0, got 2 stdout: stderr: Line 2 of '<stdin>' a) echo A ;& ^ Invalid word while parsing command |
osh-byterun | 2 Case statement with ;& [osh-byterun stdout] Expected u'A\ntwo\nthree\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 Case with empty condition [osh-byterun stdout] Expected 'match\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 Match a literal with a glob character [osh-byterun stdout] Expected 'match\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 Match a literal with a glob character with a dynamic pattern [osh-byterun stdout] Expected 'match\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 Quoted literal in glob pattern [osh-byterun stdout] Expected 'match\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 Multiple Patterns Match [osh-byterun stdout] Expected '- 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 |