diff --git a/0004-Try-harder-to-stabalise-dired-test-bug27243-02.patch b/0004-Try-harder-to-stabalise-dired-test-bug27243-02.patch new file mode 100644 index 0000000..884f70f --- /dev/null +++ b/0004-Try-harder-to-stabalise-dired-test-bug27243-02.patch @@ -0,0 +1,27 @@ +From 456525d14a6778ab624f4e329627cb7adfb0d053 Mon Sep 17 00:00:00 2001 +From: Peter Oliver +Date: Wed, 17 Jul 2024 00:06:02 +0100 +Subject: [PATCH 4/4] Try harder to stabalise dired-test-bug27243-02 + +* test/lisp/dired-tests.el (dired-test-bug27243-02): Hide file +details, to prevent changes to the size or contents of the parent +directory from affecting the test. +--- + test/lisp/dired-tests.el | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/test/lisp/dired-tests.el b/test/lisp/dired-tests.el +index ea47043dfc5..6bfb2d56303 100644 +--- a/test/lisp/dired-tests.el ++++ b/test/lisp/dired-tests.el +@@ -198,6 +198,7 @@ dired-test-bug27243-02 + (if (eq system-type 'windows-nt) + (setq test-dir (file-truename test-dir))) + (with-current-buffer (find-file-noselect test-dir) ++ (dired-hide-details-mode) + (make-directory "test-subdir")) + (push (dired test-dir) buffers) + (unwind-protect +-- +2.45.2 + diff --git a/emacs.spec b/emacs.spec index 7783308..67be675 100644 --- a/emacs.spec +++ b/emacs.spec @@ -48,6 +48,7 @@ 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 +Patch: 0004-Try-harder-to-stabalise-dired-test-bug27243-02.patch # Skip intermittently failing tests Patch: 0002-Test-eshell-test-subcommand-reset-in-pipeline-is-uns.patch