forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-lisp/asdf: Fix "test-utilities.script" test
Patch is already done upstream, drop on next version bump. Closes: https://bugs.gentoo.org/841335 Signed-off-by: Raymond Wong <[email protected]> Closes: gentoo#25226 Signed-off-by: Jakov Smolić <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
https://bugs.gentoo.org/841335 | ||
Taken from https://github.com/roswell/asdf/commit/fd289d99d1c76601fb310f8ca26a48f807337c8d | ||
|
||
From fd289d99d1c76601fb310f8ca26a48f807337c8d Mon Sep 17 00:00:00 2001 | ||
From: "Robert P. Goldman" <[email protected]> | ||
Date: Fri, 2 Jul 2021 15:57:34 -0500 | ||
Subject: [PATCH] Fix garbled test. | ||
|
||
By accident a bad test slipped into a commit: this was due to my not | ||
understanding how `with-expected-failure` works. | ||
--- | ||
test/test-utilities.script | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/test/test-utilities.script b/test/test-utilities.script | ||
index 09a03347..b1e00fa5 100644 | ||
--- a/test/test-utilities.script | ||
+++ b/test/test-utilities.script | ||
@@ -342,7 +342,7 @@ | ||
;; (assert (directory-exists-p oddball-pathname)) | ||
;; (pathname oddball-namestring) | ||
;; (assert-equal nil (uiop:subdirectories oddball-namestring)) | ||
-(with-expected-failure ("UIOP:SUBDIRECTORIES does not handle non-standard pathnames.") | ||
+(with-expected-failure (#+(or sbcl cmucl) t) | ||
(assert-equal nil (uiop:subdirectories "/[foo"))) | ||
|
||
(DBG "check to make sure WITH-CURRENT-DIRECTORY checks its parameter for directory pathname") |