]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix regexp in tramp-tests.el
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 25 Jul 2022 15:19:02 +0000 (17:19 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 25 Jul 2022 15:19:02 +0000 (17:19 +0200)
* test/lisp/net/tramp-tests.el (tramp--test-enabled): Fix regexp
for Tramp test files.

test/lisp/net/tramp-tests.el

index f2ef520162929f6d842f5986906012d3c4a28eaf..4524d56a9bfd47951c015404d5a8bb761243d775 100644 (file)
@@ -204,7 +204,7 @@ being the result.")
     ;; Remove old test files.
     (dolist (dir `(,temporary-file-directory
                   ,ert-remote-temporary-file-directory))
-      (dolist (file (directory-files dir 'full "^\\(.#\\)?tramp-test"))
+      (dolist (file (directory-files dir 'full "^\\(\\.#\\)?tramp-test"))
        (ignore-errors
          (if (file-directory-p file)
              (delete-directory file 'recursive)