[arch-commits] Commit in crystal/trunk (PKGBUILD remove_failing_socket_test.patch)

Anatol Pomozov anatolik at archlinux.org
Fri Jun 9 13:24:42 UTC 2017


    Date: Friday, June 9, 2017 @ 13:24:41
  Author: anatolik
Revision: 235522

Do not disable the network test. The problem has been at the package maintainer DNS configuration.

Modified:
  crystal/trunk/PKGBUILD
Deleted:
  crystal/trunk/remove_failing_socket_test.patch

----------------------------------+
 PKGBUILD                         |   10 ++--------
 remove_failing_socket_test.patch |   29 -----------------------------
 2 files changed, 2 insertions(+), 37 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-09 12:56:06 UTC (rev 235521)
+++ PKGBUILD	2017-06-09 13:24:41 UTC (rev 235522)
@@ -17,13 +17,10 @@
             'libyaml: For YAML support'
             'gmp: For BigInt support'
             'libxml2: For XML support')
-source=(crystal-$pkgver.tar.gz::https://github.com/crystal-lang/crystal/archive/$pkgver.tar.gz
-        remove_failing_socket_test.patch
-)
+source=(crystal-$pkgver.tar.gz::https://github.com/crystal-lang/crystal/archive/$pkgver.tar.gz)
 source_i686+=(https://github.com/crystal-lang/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-i686.tar.gz)
 source_x86_64+=(https://github.com/crystal-lang/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-x86_64.tar.gz)
-sha256sums=('5b9f11d9710ca9bd971a5afb94d369fd8dfaee103d7edf1c9fbebb2f21898547'
-            '96672187a8a522af3c214e7cb3252dc69aed0bae47ba2e1faf87aad8a67bfe35')
+sha256sums=('5b9f11d9710ca9bd971a5afb94d369fd8dfaee103d7edf1c9fbebb2f21898547')
 sha256sums_i686=('c084846d3f9e0c3cfcba6a79fe4e0cf6c6cb6801826a969460ecf2a47abd0fe9')
 sha256sums_x86_64=('789d7b844886133428248605113ede9174c6ea4ba47d96a13f0efd1565b5810d')
 
@@ -30,9 +27,6 @@
 prepare() {
   cd $pkgname-$pkgver
   sed -i 's|Please install shards: https://github.com/ysbaddaden/shards|Please install shards: pacman -S shards|' src/compiler/crystal/command.cr
-
-  # https://github.com/crystal-lang/crystal/issues/4130
-  patch -p1 < ../remove_failing_socket_test.patch
 }
 
 build() {

Deleted: remove_failing_socket_test.patch
===================================================================
--- remove_failing_socket_test.patch	2017-06-09 12:56:06 UTC (rev 235521)
+++ remove_failing_socket_test.patch	2017-06-09 13:24:41 UTC (rev 235522)
@@ -1,29 +0,0 @@
-commit 73103a21fa8b09f4a2d0ee1886204e3bb9e17252
-Author: Anatol Pomozov <anatol.pomozov at gmail.com>
-Date:   Sat Apr 22 06:54:02 2017 -0700
-
-    Remove tests that fail because of #4130
-
-diff --git a/spec/std/socket_spec.cr b/spec/std/socket_spec.cr
-index 56e565f86..f5554893b 100644
---- a/spec/std/socket_spec.cr
-+++ b/spec/std/socket_spec.cr
-@@ -536,18 +536,6 @@ describe TCPSocket do
-       TCPSocket.new("localhost", port)
-     end
-   end
--
--  it "fails when host doesn't exist" do
--    expect_raises(Socket::Error, /No address found for doesnotexist.example.org.:12345/) do
--      TCPSocket.new("doesnotexist.example.org.", 12345)
--    end
--  end
--
--  it "fails (rather than segfault on darwin) when host doesn't exist and port is 0" do
--    expect_raises(Socket::Error, /No address found for doesnotexist.example.org.:0/) do
--      TCPSocket.new("doesnotexist.example.org.", 0)
--    end
--  end
- end
- 
- describe UDPSocket do



More information about the arch-commits mailing list