52 passed, 2 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
| osh | 10 file with NUL byte stdout: onestderr: |
| osh-cpp | 10 file with NUL byte stdout: onestderr: |
| osh | 27 Crash after changing $[] to be alias of $(( )) [osh stdout] Expected '1\nhello\n' Got '1\n' [osh status] Expected 0 Got 1 [osh stderr] Found 'Traceback (most recent' stdout: 1stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 263, in <module>
sys.exit(main(sys.argv))
File "/home/uke/oil/bin/oils_for_unix.py", line 232, in main
return AppBundleMain(argv)
File "/home/uke/oil/bin/oils_for_unix.py", line 198, in AppBundleMain
bash_compat=(applet == 'bash'))
File "/home/uke/oil/core/shell.py", line 1296, in Main
cmd_flags=cmd_eval.IsMainProgram)
File "/home/uke/oil/core/main_loop.py", line 336, in Batch
was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags)
File "/home/uke/oil/core/main_loop.py", line 375, in Batch2
node = c_parser.ParseLogicalLine() # can raise ParseError
File "/home/uke/oil/osh/cmd_parse.py", line 2839, in ParseLogicalLine
node = self._ParseCommandLine()
File "/home/uke/oil/osh/cmd_parse.py", line 2695, in _ParseCommandLine
child = self.ParseAndOr()
File "/home/uke/oil/osh/cmd_parse.py", line 2619, in ParseAndOr
return self._ParseAndOr()
File "/home/uke/oil/osh/cmd_parse.py", line 2630, in _ParseAndOr
child = self.ParsePipeline()
File "/home/uke/oil/osh/cmd_parse.py", line 2578, in ParsePipeline
child = self.ParseCommand()
File "/home/uke/oil/osh/cmd_parse.py", line 2496, in ParseCommand
return self.ParseCompoundCommand()
File "/home/uke/oil/osh/cmd_parse.py", line 2093, in ParseCompoundCommand
n5 = self.ParseCase()
File "/home/uke/oil/osh/cmd_parse.py", line 1885, in ParseCase
return self.ParseOldCase(case_kw)
File "/home/uke/oil/osh/cmd_parse.py", line 1861, in ParseOldCase
arm = self.ParseCaseArm()
File "/home/uke/oil/osh/cmd_parse.py", line 1694, in ParseCaseArm
self._GetWord()
File "/home/uke/oil/osh/cmd_parse.py", line 670, in _GetWord
w = self.w_parser.ReadWord(self.next_lex_mode)
File "/home/uke/oil/osh/word_parse.py", line 2317, in ReadWord
w = self._ReadWord(word_mode)
File "/home/uke/oil/osh/word_parse.py", line 2148, in _ReadWord
raise AssertionError(self.cur_token)
AssertionError: (Token
id:Right_DollarDParen
length:1
col:5
line:(SourceLine
line_num:3
content:" foo) echo hello ;;\n"
src:(source.Stdin comment:"")
)
)
|
| osh-cpp | 27 Crash after changing $[] to be alias of $(( )) [osh-cpp stdout] Expected '1\nhello\n' Got '1\n' [osh-cpp status] Expected 0 Got -6 stdout: 1stderr: osh: _gen/bin/oils_for_unix.mycpp.cc:49635: syntax_asdl::word_t* word_parse::WordParser::_ReadWord(types_asdl::lex_mode_t): Assertion `0' failed. timeout: the monitored command dumped core |