/home/uke/oil/bin/osh var-num: spec test case results

Results for var-num.test.sh

statusosh
pass 6
FAIL 1
total7
caseoshdescription
0pass Normal and braced
1pass In function
2pass $0 with -c
3pass $0 with stdin
4FAIL $0 with -i
details
5pass $0 with filename
6pass $@ with filename
6 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh0 Normal and braced

stdout:
a b c
stderr:
osh1 In function

stdout:
a b
stderr:
osh2 $0 with -c

stdout:
sh
stderr:
osh3 $0 with stdin

stdout:
sh
stderr:
osh4 $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'
osh5 $0 with filename

stdout:
dollar0
stderr:
osh6 $@ with filename

stdout:
a b c
stderr: