X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-posix%2Fposix-tests.lisp;h=c73f2d1af8965c2eacbd14b5e30cb53b4d6c86c5;hb=f0da2f63aa0b4e6d4dbf884854a4bf2dfdd01fc0;hp=776cbbcea7f68f8076a65c5c923bfcff59bc3539;hpb=2a9b33fc45842ec0335fef2988e07337ae8f1fc7;p=sbcl.git diff --git a/contrib/sb-posix/posix-tests.lisp b/contrib/sb-posix/posix-tests.lisp index 776cbbc..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 - #+bsd + #+(or darwin openbsd) #.sb-posix:eisdir #+win32 #.sb-posix::eacces @@ -182,7 +182,7 @@ #.sb-posix::enotempty #+sunos #.sb-posix::einval - #-(or bsd 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 @@ -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