fix sb-posix tests on OpenBSD
authorBruce O'Neel <ecl@pckswarms.ch>
Sun, 20 Nov 2011 11:09:03 +0000 (13:09 +0200)
committerNikodemus Siivola <nikodemus@random-state.net>
Sun, 20 Nov 2011 11:16:33 +0000 (13:16 +0200)
  FCNTL.FLOCK.2 the test wants to check the PID of the lock holder, and,
  OpenBSD 5.0 disallows this. OpenBSD 4.9 and earlier was fine with it.

  lp#892707

Signed-off-by: Nikodemus Siivola <nikodemus@random-state.net>

NEWS
contrib/sb-posix/posix-tests.lisp

diff --git a/NEWS b/NEWS
index 7f67885..16323bc 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -56,6 +56,7 @@ changes relative to sbcl-1.0.53:
        safe outside systems with getaddrinfo().
   * bug fix: on 64-bit systems setting the nursery size above 4Gb now works.
     (lp#870868)
+  * bug fix: SB-POSIX tests failed on OpenBSD 5.0. (lp#892707)
 
 changes in sbcl-1.0.53 relative to sbcl-1.0.52:
   * enhancement: on 64-bit targets, in src/compiler/generic/early-vm.lisp,
index 6cdc955..89ace44 100644 (file)
   42)
 
 
-#-(or win32 netbsd)
+#-(or win32 openbsd netbsd)
 (deftest fcntl.flock.2
     (locally (declare (sb-ext:muffle-conditions sb-ext:compiler-note))
       (let ((flock (make-instance 'sb-posix:flock