X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-posix%2Fposix-tests.lisp;h=c73f2d1af8965c2eacbd14b5e30cb53b4d6c86c5;hb=260de2062fca170efdac3e42491d7d866c2d2e56;hp=6cdc955205ab0a79d74d270af981b1e8f5cad7d2;hpb=ecfd159f29d31d2cc08d4e5598346c04c9387636;p=sbcl.git diff --git a/contrib/sb-posix/posix-tests.lisp b/contrib/sb-posix/posix-tests.lisp index 6cdc955..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 @@ -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