case | dash | bash | mksh | osh | description |
0 | pass | pass | pass | FAIL | Case statement |
details | |||||
1 | N-I | pass | pass | FAIL | Case statement with ;;& |
details | details | ||||
2 | N-I | pass | pass | FAIL | Case statement with ;& |
details | details | ||||
3 | pass | pass | pass | FAIL | Case with empty condition |
details |
10 passed, 0 ok, 2 known unimplemented, 0 known bugs, 4 failed, 0 skipped
osh | 0 Case statement [osh stdout] Expected b'A\n', got b'' stdout: stderr: Traceback (most recent call last): File "bin/osh", line 378, in <module> sys.exit(main(sys.argv)) File "bin/osh", line 368, in main return OshMain(main_argv) File "bin/osh", line 327, in OshMain status = ex.Execute(node) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 900, in Execute status = self._Execute(node) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 875, in _Execute raise NotImplementedError NotImplementedError |
dash | 1 Case statement with ;;& stdout: stderr: /bin/dash: 3: Syntax error: newline unexpected (expecting ")") |
osh | 1 Case statement with ;;& [osh stdout] Expected b'A\nstar\nstar2\n', got b'' stdout: stderr: Line 2 of '<stdin>' a) echo A ;;& ^ Expected word type KW_Esac, got (TokenWord token:(token id:Op_Amp val:"&" span_id:15)) --- Line 0 of '<unknown>' <token had no position info> NO COL Error parsing AndOr in ParseCommandTerm --- |
dash | 2 Case statement with ;& stdout: stderr: /bin/dash: 2: Syntax error: "&" unexpected |
osh | 2 Case statement with ;& [osh stdout] Expected b'A\ntwo\nthree\n', got b'' stdout: stderr: Line 2 of '<stdin>' a) echo A ;& ^ ParseCommand: Expected to parse a command, got (TokenWord token:(token id:Op_Amp val:"&" span_id:15)) --- Line 0 of '<unknown>' <token had no position info> NO COL Error parsing AndOr in ParseCommandTerm --- Line 2 of '<stdin>' a) echo A ;& ^ Expected DSEMI or ESAC, got (TokenWord token:(token id:Op_Amp val:"&" span_id:15)) --- Line 0 of '<unknown>' <token had no position info> NO COL ParseCase: error parsing case list --- Line 0 of '<unknown>' <token had no position info> NO COL Error parsing AndOr in ParseCommandTerm --- |
osh | 3 Case with empty condition [osh stdout] Expected b'match\n', got b'' stdout: stderr: Traceback (most recent call last): File "bin/osh", line 378, in <module> sys.exit(main(sys.argv)) File "bin/osh", line 368, in main return OshMain(main_argv) File "bin/osh", line 327, in OshMain status = ex.Execute(node) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 900, in Execute status = self._Execute(node) File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 875, in _Execute raise NotImplementedError NotImplementedError |