diff options
| author | Peter Oliver | 2024-07-15 12:03:47 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2024-07-15 23:22:16 +0200 |
| commit | a7b68c25640de8214bc759d20180373c2dbcfa16 (patch) | |
| tree | 7d2ae3c2682a513049f9ac65f2330ca59faaccd9 | |
| parent | fc25b4d8370a7c3d24b4c1335babfa1a66fe45dd (diff) | |
| download | emacs-a7b68c25640de8214bc759d20180373c2dbcfa16.tar.gz emacs-a7b68c25640de8214bc759d20180373c2dbcfa16.zip | |
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)
| -rw-r--r-- | test/lisp/dired-tests.el | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
| 189 | (ert-deftest dired-test-bug27243-02 () | 189 | (ert-deftest dired-test-bug27243-02 () |
| 190 | "Test for https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27243#28 ." | 190 | "Test for https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27243#28 ." |
| 191 | (ert-with-temp-directory test-dir | 191 | (ert-with-temp-directory test-dir |
| 192 | (let ((dired-auto-revert-buffer t) buffers) | 192 | (let ((dired-auto-revert-buffer t) |
| 193 | (dired-free-space nil) | ||
| 194 | buffers) | ||
| 193 | ;; On MS-Windows, get rid of 8+3 short names in test-dir, if the | 195 | ;; On MS-Windows, get rid of 8+3 short names in test-dir, if the |
| 194 | ;; corresponding long file names exist, otherwise such names trip | 196 | ;; corresponding long file names exist, otherwise such names trip |
| 195 | ;; string comparisons below. | 197 | ;; string comparisons below. |