[svn:mod_parrot] r556 - mod_parrot/trunk/t/legacy

[email protected] Mon, 29 Dec 2008 16:22:40 -0800 (PST)
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
Author: jhorwitz
Date: Mon Dec 29 16:22:39 2008
New Revision: 556

Modified:
   mod_parrot/trunk/t/legacy/03AuthenHandler.t

Log:
skip legcy authen tests if mod_auth_basic is missing (Apache::Test misses it
in ubuntu and debian's convoluted configuration)


Modified: mod_parrot/trunk/t/legacy/03AuthenHandler.t
==============================================================================
--- mod_parrot/trunk/t/legacy/03AuthenHandler.t	(original)
+++ mod_parrot/trunk/t/legacy/03AuthenHandler.t	Mon Dec 29 16:22:39 2008
@@ -1,11 +1,10 @@
-use Apache::Test qw(:withtestmore);
+use Apache::Test qw(-withtestmore);
 use Apache::TestRequest;
 use Apache::TestUtil qw(t_cmp);
-use Test::More;
 
 my ($content, $res);
 
-plan tests =>2, (need_lwp);
+plan tests => 2, need qw(LWP mod_auth_basic.c);
 
 # Apache::RequestRec->RequestRec-get_basic_auth_pw
 $res = GET '/parrot-test/RequestRec-get_basic_auth_pw';