summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/01_cddb.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/t/01_cddb.t b/t/01_cddb.t
index fb24c4b..b82c65b 100644
--- a/t/01_cddb.t
+++ b/t/01_cddb.t
@@ -7,12 +7,18 @@
use strict;
use CDDB;
-use Test::More tests => 25;
+use Test::More;
BEGIN {
select(STDOUT); $|=1;
};
+if ($ENV{NO_NETWORK}) {
+ plan skip_all => 'Unset NO_NETWORK to enable live tests';
+}
+
+plan tests => 25;
+
my ($i, $result);
### test connecting