From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../dnsjava/files/2.1.6-no-network-tests.patch | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 dev-java/dnsjava/files/2.1.6-no-network-tests.patch (limited to 'dev-java/dnsjava/files/2.1.6-no-network-tests.patch') diff --git a/dev-java/dnsjava/files/2.1.6-no-network-tests.patch b/dev-java/dnsjava/files/2.1.6-no-network-tests.patch new file mode 100644 index 000000000000..1ea9d3929db0 --- /dev/null +++ b/dev-java/dnsjava/files/2.1.6-no-network-tests.patch @@ -0,0 +1,44 @@ +diff --git a/dnsjava-2.1.6/tests/org/xbill/DNS/AddressTest.java b/dnsjava-2.1.6/tests/org/xbill/DNS/AddressTest.java +index 451b262..7ce8029 100644 +--- a/dnsjava-2.1.6/tests/org/xbill/DNS/AddressTest.java ++++ b/dnsjava-2.1.6/tests/org/xbill/DNS/AddressTest.java +@@ -272,16 +272,19 @@ public class AddressTest extends TestCase + + public void test_getByName() throws UnknownHostException + { ++/* + InetAddress out = Address.getByName("128.145.198.231"); + assertEquals("128.145.198.231", out.getHostAddress()); + + out = Address.getByName("serl.cs.colorado.edu"); + assertEquals("epic.cs.colorado.edu", out.getCanonicalHostName()); + assertEquals("128.138.201.71", out.getHostAddress()); ++*/ + } + + public void test_getByName_invalid() throws UnknownHostException + { ++/* + try { + Address.getByName("example.invalid"); + fail("UnknownHostException not thrown"); +@@ -294,10 +297,12 @@ public class AddressTest extends TestCase + } + catch( UnknownHostException e ){ + } ++*/ + } + + public void test_getAllByName() throws UnknownHostException + { ++/* + InetAddress[] out = Address.getAllByName("128.145.198.231"); + assertEquals(1, out.length); + assertEquals("128.145.198.231", out[0].getHostAddress()); +@@ -353,5 +358,6 @@ public class AddressTest extends TestCase + } + catch( UnknownHostException e ){ + } ++*/ + } + } -- cgit v1.2.3