X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-posix%2Fposix-tests.lisp;h=c73f2d1af8965c2eacbd14b5e30cb53b4d6c86c5;hb=f0da2f63aa0b4e6d4dbf884854a4bf2dfdd01fc0;hp=b035e658cc7e33668ea1d38f11c60b248abc006c;hpb=b990a45283077a5867b67f90338b2215b3b19379;p=sbcl.git diff --git a/contrib/sb-posix/posix-tests.lisp b/contrib/sb-posix/posix-tests.lisp index b035e65..c73f2d1 100644 --- a/contrib/sb-posix/posix-tests.lisp +++ b/contrib/sb-posix/posix-tests.lisp @@ -174,7 +174,7 @@ (typep (sb-posix:syscall-errno c) '(member - #+darwin + #+(or darwin openbsd) #.sb-posix:eisdir #+win32 #.sb-posix::eacces @@ -182,7 +182,7 @@ #.sb-posix::enotempty #+sunos #.sb-posix::einval - #-(or darwin win32 sunos) + #-(or darwin openbsd win32 sunos) #.sb-posix::ebusy)))) t) (deftest rmdir.error.4 @@ -461,13 +461,13 @@ (progn (multiple-value-bind (nope error) (ignore-errors (sb-posix:fcntl f sb-posix:f-setlk flock)) - (sb-ext:quit - :unix-status + (sb-ext:exit + :code (cond ((not (null nope)) 1) ((= (sb-posix:syscall-errno error) sb-posix:eagain) 42) (t 86)) - :recklessly-p t #| don't delete the file |#))) + :abort t #| don't delete the file |#))) (progn (setf kid-status (sb-posix:wexitstatus @@ -478,7 +478,7 @@ 42) -#-win32 +#-(or win32 netbsd) (deftest fcntl.flock.2 (locally (declare (sb-ext:muffle-conditions sb-ext:compiler-note)) (let ((flock (make-instance 'sb-posix:flock @@ -495,12 +495,12 @@ (pid (sb-posix:fork))) (if (zerop pid) (let ((r (sb-posix:fcntl f sb-posix:f-getlk flock))) - (sb-ext:quit - :unix-status + (sb-ext:exit + :code (cond ((not (zerop r)) 1) ((= (sb-posix:flock-pid flock) ppid) 42) (t 86)) - :recklessly-p t #| don't delete the file |#)) + :abort t #| don't delete the file |#)) (progn (setf kid-status (sb-posix:wexitstatus