Results for osh-only.test.sh

statusoshosh_.pyosh_.cc
pass 400
FAIL 044
total444
caseoshosh_.pyosh_.ccdescription
0pass FAIL FAIL --debug-file
detailsdetails
1pass FAIL FAIL crash dump
detailsdetails
2pass FAIL FAIL crash dump with source
detailsdetails
3pass FAIL FAIL help osh and oil
detailsdetails
4 passed, 0 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.py0 --debug-file

[osh_.py stdout] Expected 'yes\n', got ''
[osh_.py status] Expected 0, got 2

stdout:
stderr: 
  $SH --debug-file $TMP/debug.txt -c 'true'
      ^~~~~~~~~~~~
[ stdin ]:1: '--debug-file' not found
grep: /debug.txt: No such file or directory
osh_.cc0 --debug-file

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

stdout:
stderr: 
  $SH --debug-file $TMP/debug.txt -c 'true'
      ^~~~~~~~~~~~
[ stdin ]:1: '--debug-file' not found
osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed.
osh_.py1 crash dump

[osh_.py stdout] Expected 'status=1\nstatus=0\n', got 'status=127\nstatus=127\n'

stdout:
status=127
status=127
stderr:
  OSH_CRASH_DUMP_DIR=$TMP $SH -c '
                              ^~
[ stdin ]:2: '-c' not found
  python2 -m json.tool $TMP/*.json > /dev/null
  ^~~~~~~
[ stdin ]:16: 'python2' not found
osh_.cc1 crash dump

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

stdout:
status=127
stderr:
  OSH_CRASH_DUMP_DIR=$TMP $SH -c '
                              ^~
[ stdin ]:2: '-c' not found
osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed.
osh_.py2 crash dump with source

[osh_.py stdout] Expected 'status=1\nOK\n', got 'status=127\n'

stdout:
status=127
stderr:
  OSH_CRASH_DUMP_DIR=$TMP $SH -c '
                              ^~
[ stdin ]:1: '-c' not found
+ set -o errexit
+ (lvalue.Named name:ok spids:[32]) = (value.Str s:0)
+ test -s '/*.json'
+ test 0 -ge 1
osh_.cc2 crash dump with source

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

stdout:
status=127
stderr:
  OSH_CRASH_DUMP_DIR=$TMP $SH -c '
                              ^~
[ stdin ]:1: '-c' not found
+ set -o errexit
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: Can't open '/osh.txt': Permission denied
  help oil > $TMP/oil.txt
           ^
[ stdin ]:3: Can't open '/oil.txt': Permission denied
  help index ZZZ > $TMP/index.txt
                 ^
[ stdin ]:5: Can't open '/index.txt': Permission denied
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.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed.