1.0.43.51: disable get-protocol-by-name/error test on threaded FreeBSD
authorNikodemus Siivola <nikodemus@random-state.net>
Wed, 13 Oct 2010 13:24:26 +0000 (13:24 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Wed, 13 Oct 2010 13:24:26 +0000 (13:24 +0000)
 Workaround for bug 659857.

 At least some versions of FreeBSD return -1 and errno=EINTR for
 unknown protocols.

contrib/sb-bsd-sockets/tests.lisp
version.lisp-expr

index de2a441..6f22017 100644 (file)
   (integerp (get-protocol-by-name "udp"))
   t)
 
+;;; See https://bugs.launchpad.net/sbcl/+bug/659857
+;;; Apparently getprotobyname_r on FreeBSD says -1 and EINTR
+;;; for unknown protocols...
+#-(and freebsd sb-thread)
 (deftest get-protocol-by-name/error
   (handler-case (get-protocol-by-name "nonexistent-protocol")
     (unknown-protocol ()
index 175f9dd..b711845 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.43.50"
+"1.0.43.51"