diff options
author | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2012-02-01 11:04:37 -0500 |
---|---|---|
committer | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2012-02-01 11:04:37 -0500 |
commit | b0d97cd20eb52a7924149df86ae64e837d023b65 (patch) | |
tree | e0ed7501fdea92c80f6f6cce01102bd79db98751 /t | |
parent | 1d176f23d265de80663390788b71cbd96c988ee2 (diff) | |
download | ikiwiki-b0d97cd20eb52a7924149df86ae64e837d023b65.tar ikiwiki-b0d97cd20eb52a7924149df86ae64e837d023b65.tar.gz |
Fail a test if an rcs_receive() hook is ever defined for CVS.
Diffstat (limited to 't')
-rwxr-xr-x | t/cvs.t | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -333,7 +333,10 @@ sub test_rcs_getmtime { } sub test_rcs_receive { - pass(q{rcs_receive doesn't make sense for CVS}); + my $description = q{rcs_receive doesn't make sense for CVS}; + exists $IkiWiki::hooks{rcs}{rcs_receive} + ? fail($description) + : pass($description); } sub test_rcs_preprevert { |