Results for builtin-bash.test.sh

statusoshosh_.pyosh_.cc
pass 191110
FAIL 089
total191919
caseoshosh_.pyosh_.ccdescription
0pass FAIL FAIL help
detailsdetails
1pass pass FAIL bad help topic
details
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 FAIL FAIL type -t doesn't find non-executable (like command -v)
detailsdetails
9pass FAIL FAIL type -t -> not found
detailsdetails
10pass FAIL FAIL type -p builtin -> file
detailsdetails
11pass pass pass type -p builtin -> not found
12pass pass pass type -p builtin -> not a file
13pass FAIL FAIL type -P builtin -> file
detailsdetails
14pass pass pass type -P builtin -> not found
15pass pass pass type -P builtin -> not a file
16pass FAIL FAIL type -P builtin -> not a file but file found
detailsdetails
17pass pass pass type -f builtin -> not found
18pass FAIL FAIL type -f builtin -> function and file exists
detailsdetails
40 passed, 0 OK, 0 not implemented, 0 BUG, 17 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.py0 help

[osh_.py stderr] Expected 'status=0\nstatus=0\nstatus=0\n', got ''

stdout:
 help 

    help index           # list all help topics
    help index GROUP...  # list help topics in the given groups
    help TOPIC           # show help on a given topic
    help osh-usage       # same as osh --help
    help oil-usage       # same as oil --help

View on the web: http://www.oilshell.org/$VERSION/doc/osh-quick-ref.html

status=0
 help 

    help index           # list all help topics
    help index GROUP...  # list help topics in the given groups
    help TOPIC           # show help on a given topic
    help osh-usage       # same as osh --help
    help oil-usage       # same as oil --help

View on the web: http://www.oilshell.org/$VERSION/doc/osh-quick-ref.html

status=0
 help 

    help index           # list all help topics
    help index GROUP...  # list help topics in the given groups
    help TOPIC           # show help on a given topic
    help osh-usage       # same as osh --help
    help oil-usage       # same as oil --help

View on the web: http://www.oilshell.org/$VERSION/doc/osh-quick-ref.html

status=0
stderr:
osh_.cc0 help

[osh_.cc stderr] Expected 'status=0\nstatus=0\nstatus=0\n', got ''

stdout:
TODO
status=0
TODO
status=0
TODO
status=0
stderr:
osh_.cc1 bad help topic

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

stdout:
TODO
help=0
grep=0
stderr:
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_.py8 type -t doesn't find non-executable (like command -v)

[osh_.py stdout] Expected u'', got "(cmd_value.Argv argv:[touch '/non-executable'] arg_spids:[7 9])\n"

stdout:
(cmd_value.Argv argv:[touch '/non-executable'] arg_spids:[7 9])
stderr:
Unhandled SimpleCommand
type: 'non-executable' not found
osh_.cc8 type -t doesn't find non-executable (like command -v)

[osh_.cc stdout] Expected u'', got "(cmd_value.Argv argv:[touch '/non-executable'] arg_spids:[7 9])\n"
[osh_.cc status] Expected 1, got -6

stdout:
(cmd_value.Argv argv:[touch '/non-executable'] arg_spids:[7 9])
stderr:
Unhandled SimpleCommand
osh_eval.dbg: cpp/posix.h:18: int posix::access(Str *, int): Assertion `0' failed.
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
osh_.py10 type -p builtin -> file

[osh_.py stdout] Expected '/bin/mv\n/bin/tar\n/bin/grep\n', got ''
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
type: 'mv' not found
type: 'tar' not found
type: 'grep' not found
osh_.cc10 type -p builtin -> file

[osh_.cc stdout] Expected '/bin/mv\n/bin/tar\n/bin/grep\n', got ''
[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
type: 'mv' not found
type: 'tar' not found
type: 'grep' not found
osh_.py13 type -P builtin -> file

[osh_.py stdout] Expected '/bin/mv\n/bin/tar\n/bin/grep\n', got ''
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
type: 'mv' not found
type: 'tar' not found
type: 'grep' not found
osh_.cc13 type -P builtin -> file

[osh_.cc stdout] Expected '/bin/mv\n/bin/tar\n/bin/grep\n', got ''
[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
type: 'mv' not found
type: 'tar' not found
type: 'grep' not found
osh_.py16 type -P builtin -> not a file but file found

[osh_.py stdout] Expected '/bin/mv\n/bin/tar\n/bin/grep\n', got ''

stdout:
stderr: 
osh_.cc16 type -P builtin -> not a file but file found

[osh_.cc stdout] Expected '/bin/mv\n/bin/tar\n/bin/grep\n', got ''

stdout:
stderr: 
osh_.py18 type -f builtin -> function and file exists

[osh_.py stdout] Expected '/bin/mv is a file\n/bin/tar is a file\n/bin/grep is a file\n', got ''
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
type: 'mv' not found
type: 'tar' not found
type: 'grep' not found
osh_.cc18 type -f builtin -> function and file exists

[osh_.cc stdout] Expected '/bin/mv is a file\n/bin/tar is a file\n/bin/grep is a file\n', got ''
[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
type: 'mv' not found
type: 'tar' not found
type: 'grep' not found