emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-30 a7b68c25640: Fix intermittent failure of dired-test-bug27243-02


From: Stefan Kangas
Subject: emacs-30 a7b68c25640: Fix intermittent failure of dired-test-bug27243-02
Date: Mon, 15 Jul 2024 17:24:49 -0400 (EDT)

branch: emacs-30
commit a7b68c25640de8214bc759d20180373c2dbcfa16
Author: Peter Oliver <git@mavit.org.uk>
Commit: Stefan Kangas <stefankangas@gmail.com>

    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.  (Bug#72120)
---
 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 651b77500a1..3b1f80d3d3d 100644
--- a/test/lisp/dired-tests.el
+++ b/test/lisp/dired-tests.el
@@ -189,7 +189,9 @@
 (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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]