summaryrefslogtreecommitdiff
path: root/dev-lisp/sbcl/files/sb-posix-test-2.2.9.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lisp/sbcl/files/sb-posix-test-2.2.9.patch')
-rw-r--r--dev-lisp/sbcl/files/sb-posix-test-2.2.9.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-lisp/sbcl/files/sb-posix-test-2.2.9.patch b/dev-lisp/sbcl/files/sb-posix-test-2.2.9.patch
new file mode 100644
index 000000000000..f88f13301dfd
--- /dev/null
+++ b/dev-lisp/sbcl/files/sb-posix-test-2.2.9.patch
@@ -0,0 +1,30 @@
+diff -r -U2 sbcl-2.2.9.orig/contrib/sb-posix/posix-tests.lisp sbcl-2.2.9/contrib/sb-posix/posix-tests.lisp
+--- sbcl-2.2.9.orig/contrib/sb-posix/posix-tests.lisp 2022-09-29 14:43:33.000000000 +0700
++++ sbcl-2.2.9/contrib/sb-posix/posix-tests.lisp 2022-10-01 16:32:39.919563905 +0700
+@@ -166,15 +166,15 @@
+ #.sb-posix::einval)
+
+-(deftest rmdir.error.3
+- (handler-case
+- (sb-posix:rmdir #-win32 "/" #+win32 (sb-ext:posix-getenv "windir"))
+- (sb-posix:syscall-error (c)
+- (typep
+- (sb-posix:syscall-errno c)
+- `(member #+(or darwin openbsd freebsd) ,sb-posix:eisdir
+- #+win32 ,sb-posix::eacces #+win32 ,sb-posix::enotempty
+- #+sunos ,sb-posix::einval
+- #-(or darwin openbsd freebsd win32 sunos) ,sb-posix::ebusy))))
+- t)
++; (deftest rmdir.error.3
++; (handler-case
++; (sb-posix:rmdir #-win32 "/" #+win32 (sb-ext:posix-getenv "windir"))
++; (sb-posix:syscall-error (c)
++; (typep
++; (sb-posix:syscall-errno c)
++; `(member #+(or darwin openbsd freebsd) ,sb-posix:eisdir
++; #+win32 ,sb-posix::eacces #+win32 ,sb-posix::enotempty
++; #+sunos ,sb-posix::einval
++; #-(or darwin openbsd freebsd win32 sunos) ,sb-posix::ebusy))))
++; t)
+
+ (deftest rmdir.error.4