Results for process-sub.test.sh

casebashzshoshosh_ALTdescription
0pass pass FAIL FAIL Process sub input
detailsdetails
1pass pass FAIL FAIL Non-linear pipeline with >()
detailsdetails

4 passed, 0 ok, 0 known unimplemented, 0 known bugs, 2 failed, 0 skipped

Details on runs that didn't PASS

osh0 Process sub input

[osh stdout] Expected u'1\n\t\t2\n\t3\n', got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "bin/osh", line 475, in <module>
    main(sys.argv)
  File "bin/osh", line 458, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 441, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 394, in OshMain
    status = ex.Execute(node)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 962, in Execute
    status = self._Execute(node, fork_external=fork_external)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 926, in _Execute
    status, check_errexit = self._Dispatch(node, fork_external)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 736, in _Dispatch
    status = self._ExecuteList(node.children)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 955, in _ExecuteList
    status = self._Execute(child)  # last status wins
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 926, in _Execute
    status, check_errexit = self._Dispatch(node, fork_external)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 609, in _Dispatch
    argv = self.ev.EvalWordSequence(words)
  File "/home/andy/git/oilshell/oil/bin/../core/word_eval.py", line 1106, in EvalWordSequence
    return self._EvalWordSequence(words)
  File "/home/andy/git/oilshell/oil/bin/../core/word_eval.py", line 1086, in _EvalWordSequence
    args = self._EvalWordAndReframe(w)
  File "/home/andy/git/oilshell/oil/bin/../core/word_eval.py", line 1039, in _EvalWordAndReframe
    part_vals = self._EvalParts(word)
  File "/home/andy/git/oilshell/oil/bin/../core/word_eval.py", line 933, in _EvalParts
    for v in self.part_ev._EvalWordPart(p, quoted=quoted):
  File "/home/andy/git/oilshell/oil/bin/../core/word_eval.py", line 868, in _EvalWordPart
    raise NotImplementedError(part.left_token.id)
NotImplementedError: Left_ProcSubIn
osh_ALT0 Process sub input

[osh_ALT stdout] Expected u'1\n\t\t2\n\t3\n', got ''
[osh_ALT status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/Python-2.7.13/Lib/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/home/andy/git/oilshell/oil/Python-2.7.13/Lib/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 475, in <module>
    main(sys.argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 458, in main
    sys.exit(OilMain(argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 441, in OilMain
    status = OshMain(main_argv, login_shell)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 394, in OshMain
    status = ex.Execute(node)
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 962, in Execute
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 926, in _Execute
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 736, in _Dispatch
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 955, in _ExecuteList
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 926, in _Execute
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 609, in _Dispatch
  File "/home/andy/git/oil/bin/../core/word_eval.py", line 1106, in EvalWordSequence
  File "/home/andy/git/oil/bin/../core/word_eval.py", line 1086, in _EvalWordSequence
  File "/home/andy/git/oil/bin/../core/word_eval.py", line 1039, in _EvalWordAndReframe
  File "/home/andy/git/oil/bin/../core/word_eval.py", line 933, in _EvalParts
  File "/home/andy/git/oil/bin/../core/word_eval.py", line 868, in _EvalWordPart
NotImplementedError: Left_ProcSubIn
FATAL: couldn't import from app bundle '_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
osh1 Non-linear pipeline with >()

[osh stdout] Expected u'OUT\nwarning: e2\no2\no1\n', got 'OUT\n'

stdout:
OUT
stderr:
Traceback (most recent call last):
  File "bin/osh", line 475, in <module>
    main(sys.argv)
  File "bin/osh", line 458, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 441, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 394, in OshMain
    status = ex.Execute(node)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 962, in Execute
    status = self._Execute(node, fork_external=fork_external)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 926, in _Execute
    status, check_errexit = self._Dispatch(node, fork_external)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 736, in _Dispatch
    status = self._ExecuteList(node.children)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 955, in _ExecuteList
    status = self._Execute(child)  # last status wins
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 926, in _Execute
    status, check_errexit = self._Dispatch(node, fork_external)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 651, in _Dispatch
    status = self._RunPipeline(node)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 541, in _RunPipeline
    pipe_status = pi.Run(self.waiter)
  File "/home/andy/git/oilshell/oil/bin/../core/process.py", line 510, in Run
    self.Start(waiter)
  File "/home/andy/git/oilshell/oil/bin/../core/process.py", line 487, in Start
    pid = proc.Start()
  File "/home/andy/git/oilshell/oil/bin/../core/process.py", line 401, in Start
    self.thunk.Run()
  File "/home/andy/git/oilshell/oil/bin/../core/process.py", line 297, in Run
    status = self.ex.Execute(self.node, fork_external=False)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 962, in Execute
    status = self._Execute(node, fork_external=fork_external)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 919, in _Execute
    redirects = self._EvalRedirects(node)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 425, in _EvalRedirects
    r = self._EvalRedirect(redir)
  File "/home/andy/git/oilshell/oil/bin/../core/cmd_exec.py", line 360, in _EvalRedirect
    val = self.ev.EvalWordToString(n.arg_word)
  File "/home/andy/git/oilshell/oil/bin/../core/word_eval.py", line 952, in EvalWordToString
    for part_val in self.part_ev._EvalWordPart(part, quoted=False):
  File "/home/andy/git/oilshell/oil/bin/../core/word_eval.py", line 868, in _EvalWordPart
    raise NotImplementedError(part.left_token.id)
NotImplementedError: Left_ProcSubOut
wait all
waited for 0 processes
osh_ALT1 Non-linear pipeline with >()

[osh_ALT stdout] Expected u'OUT\nwarning: e2\no2\no1\n', got 'OUT\n'

stdout:
OUT
stderr:
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/Python-2.7.13/Lib/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/home/andy/git/oilshell/oil/Python-2.7.13/Lib/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 475, in <module>
    main(sys.argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 458, in main
    sys.exit(OilMain(argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 441, in OilMain
    status = OshMain(main_argv, login_shell)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 394, in OshMain
    status = ex.Execute(node)
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 962, in Execute
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 926, in _Execute
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 736, in _Dispatch
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 955, in _ExecuteList
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 926, in _Execute
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 651, in _Dispatch
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 541, in _RunPipeline
  File "/home/andy/git/oil/bin/../core/process.py", line 510, in Run
  File "/home/andy/git/oil/bin/../core/process.py", line 487, in Start
  File "/home/andy/git/oil/bin/../core/process.py", line 401, in Start
  File "/home/andy/git/oil/bin/../core/process.py", line 297, in Run
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 962, in Execute
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 919, in _Execute
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 425, in _EvalRedirects
  File "/home/andy/git/oil/bin/../core/cmd_exec.py", line 360, in _EvalRedirect
  File "/home/andy/git/oil/bin/../core/word_eval.py", line 952, in EvalWordToString
  File "/home/andy/git/oil/bin/../core/word_eval.py", line 868, in _EvalWordPart
NotImplementedError: Left_ProcSubOut
FATAL: couldn't import from app bundle '_bin/osh' (1)
Stripping the oil.ovm binary may cause this error.
See https://github.com/oilshell/oil/issues/47
wait all
waited for 0 processes