opnsense-ports/devel/p5-Git-PurePerl/files/patch-t_protocol__gpp.t
Franco Fichtner a737ce6b05 */*: sync previously available, but unused ports
Taken from: FreeBSD
2015-04-22 06:45:04 +02:00

16 lines
355 B
Perl

--- t/protocol_gpp.t.orig 2013-08-26 11:24:05 UTC
+++ t/protocol_gpp.t
@@ -6,6 +6,13 @@ use IO::File;
use Path::Class;
use Test::More;
+my $socket = IO::Socket::INET->new("www.google.com:80");
+if ($socket) {
+ close ($socket);
+} else {
+ plan skip_all => 'No Internet connection?';
+}
+
my $directory = 'test-protocol';
dir($directory)->rmtree;