From 0e224058e73308ddc67f5a403b0cc5aaa5345d7d Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@kitenet.net>
Date: Sat, 22 Jan 2011 11:00:57 -0400
Subject: [PATCH] Adapt autoindex test suite to work with old Test::More.

---
 debian/changelog | 6 ++++++
 t/autoindex.t    | 3 +--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1c0d06777..5eb530531 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ikiwiki (3.20110123) UNRELEASED; urgency=low
+
+  * Adapt autoindex test suite to work with old Test::More.
+
+ -- Joey Hess <joeyh@debian.org>  Sat, 22 Jan 2011 11:00:37 -0400
+
 ikiwiki (3.20110122) unstable; urgency=medium
 
   * inline: Pass feed titles to templates and add title and rel attributes
diff --git a/t/autoindex.t b/t/autoindex.t
index b47f2e0eb..9bef2415a 100755
--- a/t/autoindex.t
+++ b/t/autoindex.t
@@ -3,7 +3,7 @@ package IkiWiki;
 
 use warnings;
 use strict;
-use Test::More;
+use Test::More tests => 17;
 
 BEGIN { use_ok("IkiWiki"); }
 BEGIN { use_ok("IkiWiki::Render"); }
@@ -70,5 +70,4 @@ ok(! -f "t/tmp/reinstated.mdwn");
 ok(! exists $wikistate{autoindex}{deleted}{tags});
 ok(-s "t/tmp/tags.mdwn");
 
-done_testing();
 1;
-- 
2.39.5