Results for builtin-bash.test.sh

statusoshosh_.pyosh_.cc
pass 191614
FAIL 035
total191919
caseoshosh_.pyosh_.ccdescription
0pass pass FAIL help
details
1pass FAIL FAIL bad help topic
detailsdetails
2pass pass pass type -t -> function
3pass pass pass type -t -> alias
4pass pass pass type -t -> builtin
5pass pass pass type -t -> keyword
6pass pass pass type -t control flow
7pass FAIL FAIL type -t -> file
detailsdetails
8pass pass FAIL type -t doesn't find non-executable (like command -v)
details
9pass FAIL FAIL type -t -> not found
detailsdetails
10pass pass pass type -p builtin -> file
11pass pass pass type -p builtin -> not found
12pass pass pass type -p builtin -> not a file
13pass pass pass type -P builtin -> file
14pass pass pass type -P builtin -> not found
15pass pass pass type -P builtin -> not a file
16pass pass pass type -P builtin -> not a file but file found
17pass pass pass type -f builtin -> not found
18pass pass pass type -f builtin -> function and file exists
49 passed, 0 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.cc0 help

[osh_.cc stderr] Expected 'status=0\nstatus=0\nstatus=0\n', got "osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed.\n"
[osh_.cc status] Expected 0, got -6

stdout:
TODO
stderr:
osh_eval.dbg: cpp/posix.h:139: void posix::dup2(int, int): Assertion `0' failed.
osh_.py1 bad help topic

[osh_.py stdout] Expected 'help=1\ngrep=0\n', got 'help=1\ngrep=1\n'

stdout:
help=1
grep=1
stderr:
  help ZZZ 2>$TMP/err.txt
           ^~
[ stdin ]:1: Can't open '/err.txt': Permission denied
cat: /err.txt: No such file or directory
osh_.cc1 bad help topic

[osh_.cc stdout] Expected 'help=1\ngrep=0\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.
osh_.py7 type -t -> file

[osh_.py stdout] Expected 'file\nfile\n', got ''
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
type: 'find' not found
type: 'xargs' not found
osh_.cc7 type -t -> file

[osh_.cc stdout] Expected 'file\nfile\n', got ''
[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
type: 'find' not found
type: 'xargs' not found
osh_.cc8 type -t doesn't find non-executable (like command -v)

[osh_.cc stdout] Expected u'', got 'file\n'
[osh_.cc status] Expected 1, got 0

stdout:
file
stderr:
touch: cannot touch '/non-executable': Permission denied
osh_.py9 type -t -> not found

[osh_.py stdout] Expected 'builtin\nfile\nstatus=1\n', got 'builtin\nstatus=1\n'

stdout:
builtin
status=1
stderr:
type: 'ZZZ' not found
type: 'find' not found
type: '=' not found
osh_.cc9 type -t -> not found

[osh_.cc stdout] Expected 'builtin\nfile\nstatus=1\n', got 'builtin\nstatus=1\n'

stdout:
builtin
status=1
stderr:
type: 'ZZZ' not found
type: 'find' not found
type: '=' not found