From: Nikodemus Siivola Date: Wed, 13 Oct 2010 13:24:26 +0000 (+0000) Subject: 1.0.43.51: disable get-protocol-by-name/error test on threaded FreeBSD X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=21818acfc8c496ca973a8b6d8ef41cf77a74a1e0;p=sbcl.git 1.0.43.51: disable get-protocol-by-name/error test on threaded FreeBSD Workaround for bug 659857. At least some versions of FreeBSD return -1 and errno=EINTR for unknown protocols. --- diff --git a/contrib/sb-bsd-sockets/tests.lisp b/contrib/sb-bsd-sockets/tests.lisp index de2a441..6f22017 100644 --- a/contrib/sb-bsd-sockets/tests.lisp +++ b/contrib/sb-bsd-sockets/tests.lisp @@ -20,6 +20,10 @@ (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 () diff --git a/version.lisp-expr b/version.lisp-expr index 175f9dd..b711845 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -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"