From 0f9c28f00879e86713350a5bbff1f6f158874273 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Mon, 25 Jul 2022 18:08:47 +0200 Subject: [PATCH] ; * test/lisp/net/tramp-tests.el (tramp--test-enabled): fix regexp --- test/lisp/net/tramp-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 4524d56a9bf..784ef93f5b7 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -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) -- 2.39.2