Fail a test if an rcs_receive() hook is ever defined for CVS.

master
Amitai Schlair 2012-02-01 11:04:37 -05:00
parent 1d176f23d2
commit b0d97cd20e
1 changed files with 4 additions and 1 deletions

View File

@ -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 {