Add some basic testing for content_log

This commit is contained in:
Jared Johnson 2014-12-02 17:02:45 -06:00
parent deb0fbba69
commit ae887c156b
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1 @@
false

View File

@ -13,6 +13,7 @@
# my $MAXCONNIP = 5; # max simultaneous connections from one IP
# settings... without this it will NOT refuse more than $MAXCONNIP connections
# from one IP!
content_log
hosts_allow
# information plugins

View File

@ -0,0 +1,16 @@
#!perl -w
use strict;
use warnings;
sub register_tests {
my ( $self ) = @_;
$self->register_test('test_content_log_file');
}
sub test_content_log_file {
my ( $self ) = @_;
ok( $self->content_log_file, 'content_log_file() returns something' );
}