projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d176f2
)
Fail a test if an rcs_receive() hook is ever defined for CVS.
author
Amitai Schlair
<schmonz-web-ikiwiki@schmonz.com>
Wed, 1 Feb 2012 16:04:37 +0000
(11:04 -0500)
committer
Amitai Schlair
<schmonz-web-ikiwiki@schmonz.com>
Wed, 1 Feb 2012 16:04:37 +0000
(11:04 -0500)
t/cvs.t
patch
|
blob
|
history
diff --git
a/t/cvs.t
b/t/cvs.t
index af91b1c64b74c5303c335b986cf230d1c5143542..62ed179f3af428fe5529d6816f4883e33bbfd027 100755
(executable)
--- a/
t/cvs.t
+++ b/
t/cvs.t
@@
-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 {