]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Fix CVS tests by uninverting $installed (cdfb4ab).
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>
Fri, 19 Feb 2016 04:25:54 +0000 (23:25 -0500)
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>
Fri, 19 Feb 2016 04:25:54 +0000 (23:25 -0500)
t/cvs.t

diff --git a/t/cvs.t b/t/cvs.t
index 43a2ca3a81f77e07afb997c3e118e64957ba1e81..371c21ec9f7ab53418ac344f5545e6347a11046d 100755 (executable)
--- a/t/cvs.t
+++ b/t/cvs.t
@@ -609,10 +609,10 @@ sub _generate_and_configure_post_commit_hook {
 
        require IkiWiki::Wrapper;
        if ($installed) {
-               $IkiWiki::program_to_wrap = 'ikiwiki.out';
+               $IkiWiki::program_to_wrap = `which ikiwiki`;
        }
        else {
-               $IkiWiki::program_to_wrap = `which ikiwiki`;
+               $IkiWiki::program_to_wrap = './ikiwiki.out';
        }
        # XXX substitute its interpreter to Makefile's $(PERL)
        # XXX best solution: do this to all scripts during build