Results for osh-only.test.sh

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

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/travis/build/oilshell/oil/bin/osh_eval.py", line 68, in <module>
    sys.exit(main(sys.argv))
  File "/home/travis/build/oilshell/oil/bin/osh_eval.py", line 36, in main
    None)
  File "/home/travis/build/oilshell/oil/core/shell_native.py", line 476, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/travis/build/oilshell/oil/core/main_loop.py", line 324, in Batch
    is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1498, in ExecuteAndCatch
    status = self._Execute(node)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 1345, in _Execute
    status, check_errexit = self._Dispatch(node, pipeline_st)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 623, in _Dispatch
    status = self._RunSimpleCommand(cmd_val, node.do_fork)
  File "/home/travis/build/oilshell/oil/osh/cmd_eval.py", line 477, in _RunSimpleCommand
    return self.shell_ex.RunSimpleCommand(cmd_val, do_fork)
  File "/home/travis/build/oilshell/oil/core/executor.py", line 230, in RunSimpleCommand
    return self.RunBuiltin(builtin_id, cmd_val)
  File "/home/travis/build/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/travis/build/oilshell/oil/_tmp/spec-tmp/osh-only.test.sh/26821-osh-crash-dump.json'
+ python -m json.tool '/home/travis/build/oilshell/oil/_tmp/spec-tmp/osh-only.test.sh/26821-osh-crash-dump.json'
+ echo 'OK /home/travis/build/oilshell/oil/_tmp/spec-tmp/osh-only.test.sh/26821-osh-crash-dump.json'
OK /home/travis/build/oilshell/oil/_tmp/spec-tmp/osh-only.test.sh/26821-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.
osh3 help osh and oil

[osh stdout] Expected 'osh 0\noil 0\nindex ZZZ 1\n', got 'osh 1\noil 1\nindex ZZZ 1\n'

stdout:
osh 1
oil 1
index ZZZ 1
stderr:
  help osh > $TMP/osh.txt
       ^~~
[ stdin ]:1: no help topics match 'osh'
  help oil > $TMP/oil.txt
       ^~~
[ stdin ]:3: no help topics match 'oil'
  help index ZZZ > $TMP/index.txt
       ^~~~~
[ stdin ]:5: no help topics match 'index'
osh_.py3 help osh and oil

[osh_.py stdout] Expected 'osh 0\noil 0\nindex ZZZ 1\n', got 'osh 1\noil 1\nindex ZZZ 1\n'

stdout:
osh 1
oil 1
index ZZZ 1
stderr:
  help osh > $TMP/osh.txt
       ^~~
[ stdin ]:1: no help topics match 'osh'
  help oil > $TMP/oil.txt
       ^~~
[ stdin ]:3: no help topics match 'oil'
  help index ZZZ > $TMP/index.txt
       ^~~~~
[ stdin ]:5: no help topics match 'index'
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.