Results for osh-only.test.sh

statusoshosh_.pyosh_.cc
pass 430
FAIL 014
total444
caseoshosh_.pyosh_.ccdescription
0pass pass FAIL --debug-file
details
1pass pass FAIL crash dump
details
2pass FAIL FAIL crash dump with source
detailsdetails
3pass pass FAIL help osh and oil
details
7 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.cc0 --debug-file

[osh_.cc stdout] Expected 'yes\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.
osh_.cc1 crash dump

[osh_.cc stdout] Expected 'status=1\nstatus=0\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.
osh_.py2 crash dump with source

[osh_.py stderr] Found 'Traceback (most recent'

stdout:
status=1
OK
stderr:
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/andy/git/oilshell/oil/core/shell_native.py", line 476, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/andy/git/oilshell/oil/core/main_loop.py", line 324, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute
    status, check_errexit = self._Dispatch(node, pipeline_st)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 623, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, node.do_fork)
  File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 477, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 230, in RunSimpleCommand
    return self.RunBuiltin(builtin_id, cmd_val)
  File "/home/andy/git/oilshell/oil/core/executor.py", line 121, in RunBuiltin
    builtin_func = self.builtins[builtin_id]
KeyError: 31
+ set -o errexit
+ ok=0
+ test -s '/home/andy/git/oilshell/oil/_tmp/spec-tmp/osh-only.test.sh/9727-osh-crash-dump.json'
+ python -m json.tool '/home/andy/git/oilshell/oil/_tmp/spec-tmp/osh-only.test.sh/9727-osh-crash-dump.json'
+ echo 'OK /home/andy/git/oilshell/oil/_tmp/spec-tmp/osh-only.test.sh/9727-osh-crash-dump.json'
OK /home/andy/git/oilshell/oil/_tmp/spec-tmp/osh-only.test.sh/9727-osh-crash-dump.json
+ (( ++ok ))
+ test 1 -ge 1
+ echo OK
osh_.cc2 crash dump with source

[osh_.cc stdout] Expected 'status=1\nOK\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed.
osh_.cc3 help osh and oil

[osh_.cc stdout] Expected 'osh 0\noil 0\nindex ZZZ 1\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.