zeek/testing/btest/coverage
Jon Siwek f201a9f1a7 Fix portability of printing to files returned by open("/dev/stderr").
The BroFile ctor now wraps /dev/std{in,out,err} string arguments
into the actual FILE* provided by stdio.h because use of the former
directly isn't POSIX compliant and led to subtle differences that
broke unit tests on certain platforms (e.g. OS X redirection of stderr
behavior started differing from Linux).  The BroFile (un)serialization
methods already did this kind of logic, so adding it in the ctor also
should make things more consistent.

Some of the reporter-related unit tests looked like they were missing
output because of this, and the coverage test for bare-mode errors
needed tweaking to branch on whether or not libcurl was available
(since the error output differs when elasticsearch isn't there).
2012-08-17 17:27:02 -05:00
..
bare-load-baseline.test Loaded scripts is indented with spaces now and makes more sense to look at. 2011-09-29 15:53:54 -04:00
bare-mode-errors.test Fix portability of printing to files returned by open("/dev/stderr"). 2012-08-17 17:27:02 -05:00
coverage-blacklist.bro Fixed for Brofiler merge. 2012-01-26 20:55:24 -08:00
default-load-baseline.test Fixing unit tests. 2011-09-30 07:53:23 -05:00
doc.test Moving make target update-doc-sources from top-level Makefile to btest 2012-07-02 16:14:24 -07:00
init-default.test Fixing unit tests. 2011-09-30 07:53:23 -05:00
test-all-policy.test Various unit test cleanup. 2011-09-27 12:41:30 -05:00