/home/uke/oil/bin/osh
| status | osh | |
| pass | 6 | |
| FAIL | 1 | |
| total | 7 | |
| case | osh | description |
| 0 | pass | Normal and braced |
| 1 | pass | In function |
| 2 | pass | $0 with -c |
| 3 | pass | $0 with stdin |
| 4 | FAIL | $0 with -i |
| details | ||
| 5 | pass | $0 with filename |
| 6 | pass | $@ with filename |
6 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
| osh | 0 Normal and braced stdout: a b cstderr: |
| osh | 1 In function stdout: a bstderr: |
| osh | 2 $0 with -c stdout: shstderr: |
| osh | 3 $0 with stdin stdout: shstderr: |
| osh | 4 $0 with -i [osh stdout] Expected 'sh\n' Got '' [osh status] Expected 0 Got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: 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 1212, in Main
prompt_plugin, waiter, errfmt)
File "/home/uke/oil/core/main_loop.py", line 221, in Interactive
result = c_parser.ParseInteractiveLine()
File "/home/uke/oil/osh/cmd_parse.py", line 2851, in ParseInteractiveLine
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 2327, in ReadWord
w = self._ReadWord(word_mode)
File "/home/uke/oil/osh/word_parse.py", line 2125, in _ReadWord
self._GetToken()
File "/home/uke/oil/osh/word_parse.py", line 251, in _GetToken
self.cur_token = self.lexer.Read(real_mode)
File "/home/uke/oil/frontend/lexer.py", line 503, in Read
t = self._Read(lex_mode)
File "/home/uke/oil/frontend/lexer.py", line 477, in _Read
src_line, line_pos = self.line_reader.GetLine()
File "/home/uke/oil/frontend/reader.py", line 50, in GetLine
line_str = self._GetLine()
File "/home/uke/oil/frontend/reader.py", line 245, in _GetLine
self.prompt_str = self.prompt_ev.EvalFirstPrompt()
File "/home/uke/oil/osh/prompt.py", line 316, in EvalFirstPrompt
return self.EvalPrompt(ps1_val.s)
File "/home/uke/oil/osh/prompt.py", line 278, in EvalPrompt
ps1_word = w_parser.ReadForPlugin()
File "/home/uke/oil/osh/word_parse.py", line 2358, in ReadForPlugin
self._ReadLikeDQ(None, False, w.parts)
File "/home/uke/oil/osh/word_parse.py", line 1100, in _ReadLikeDQ
elif self.token_type == Id.Lit_EscapedDoubleQuote:
AttributeError: type object 'Id' has no attribute 'Lit_EscapedDoubleQuote'
|
| osh | 5 $0 with filename stdout: dollar0stderr: |
| osh | 6 $@ with filename stdout: a b cstderr: |