]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Remember to run all the tests before committing!
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>
Sun, 5 Feb 2012 08:33:20 +0000 (03:33 -0500)
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>
Sun, 5 Feb 2012 08:33:20 +0000 (03:33 -0500)
t/cvs.t

diff --git a/t/cvs.t b/t/cvs.t
index 9efe1caaef2029d9ac2dd7dad1c7e7e14a54fd77..12afc6687ab40abf9baa9612703fd1a379511c37 100755 (executable)
--- a/t/cvs.t
+++ b/t/cvs.t
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 use warnings;
 use strict;
 #!/usr/bin/perl
 use warnings;
 use strict;
-use Test::More; my $total_tests = 53;
+use Test::More; my $total_tests = 57;
 use IkiWiki;
 
 my $default_test_methods = '^test_*';
 use IkiWiki;
 
 my $default_test_methods = '^test_*';
@@ -132,6 +132,10 @@ sub test_checkconfig {
                @{$config{wrappers}}, ++$default_num_wrappers,
                q{can add cvs_wrapper},
        );
                @{$config{wrappers}}, ++$default_num_wrappers,
                q{can add cvs_wrapper},
        );
+
+       undef $config{cvs_wrapper};
+       $config{cvspath} = $default_cvspath;
+       IkiWiki::checkconfig();
 }
 
 sub test_getsetup {
 }
 
 sub test_getsetup {