1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: skip t/get_from_prereqs.t, since this test might require
CPAN shell and network access.
Forwarded: not-needed
Author: Rene Mayorga <rmayorga@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2014-01-10
--- a/t/get_from_prereqs.t
+++ b/t/get_from_prereqs.t
@@ -1,7 +1,12 @@
use strict;
use Test::Prereq;
-use Test::More tests => 1;
+use Test::More;
+
+if ($ENV{CPANSHELL}) {
+ plan skip_all => "please un-set CPANSHELL var to enable this tests";
+}
+plan tests => 1;
use lib qw(.);
|