Fix another intermittent test failure.

This commit is contained in:
Peter Oliver 2024-07-15 12:14:29 +01:00
parent 16d2054b15
commit 290ab368cc
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,30 @@
From c86645dde30fbd54ae0f187e4428a09ad75e0ba8 Mon Sep 17 00:00:00 2001
From: Peter Oliver <git@mavit.org.uk>
Date: Mon, 15 Jul 2024 12:03:47 +0100
Subject: [PATCH] Fix intermittent failure of dired-test-bug27243-02
* test/lisp/dired-tests.el (dired-test-bug27243-02): Exclude free disk
space from dired listing in this test, in case it changes while it's
running and confuses the result.
---
test/lisp/dired-tests.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/test/lisp/dired-tests.el b/test/lisp/dired-tests.el
index 2589281e5e1..ea47043dfc5 100644
--- a/test/lisp/dired-tests.el
+++ b/test/lisp/dired-tests.el
@@ -189,7 +189,9 @@ dired-test-bug27243-01
(ert-deftest dired-test-bug27243-02 ()
"Test for https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27243#28 ."
(ert-with-temp-directory test-dir
- (let ((dired-auto-revert-buffer t) buffers)
+ (let ((dired-auto-revert-buffer t)
+ (dired-free-space nil)
+ buffers)
;; On MS-Windows, get rid of 8+3 short names in test-dir, if the
;; corresponding long file names exist, otherwise such names trip
;; string comparisons below.
--
2.45.2

View File

@ -46,6 +46,9 @@ Patch: 0001-Fix-flymake-tests-with-GCC-14.patch
# Fix intermittently failing test (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72073)
Patch: 0001-Fix-wdired-test-unfinished-edit-01-when-temp-dirname.patch
# Fix intermittently failing test (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72120)
Patch: 0001-Fix-intermittent-failure-of-dired-test-bug27243-02.patch
# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2276822
# (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63555). If GDK ever
# gets any new backends, this patch may need extending.