aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/net/tramp-archive-tests.el2
-rw-r--r--test/lisp/net/tramp-tests.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/net/tramp-archive-tests.el b/test/lisp/net/tramp-archive-tests.el
index 3229d2b6506..95e41a3f03b 100644
--- a/test/lisp/net/tramp-archive-tests.el
+++ b/test/lisp/net/tramp-archive-tests.el
@@ -669,7 +669,7 @@ This tests also `access-file', `file-readable-p' and `file-regular-p'."
669 (setq attr (directory-files-and-attributes tmp-name 'full)) 669 (setq attr (directory-files-and-attributes tmp-name 'full))
670 (dolist (elt attr) 670 (dolist (elt attr)
671 (should (equal (file-attributes (car elt)) (cdr elt)))) 671 (should (equal (file-attributes (car elt)) (cdr elt))))
672 (setq attr (directory-files-and-attributes tmp-name nil "^b")) 672 (setq attr (directory-files-and-attributes tmp-name nil "\\`b"))
673 (should (equal (mapcar #'car attr) '("bar")))) 673 (should (equal (mapcar #'car attr) '("bar"))))
674 674
675 ;; Cleanup. 675 ;; Cleanup.
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 47d51767c5c..544bdb5c058 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -3331,7 +3331,7 @@ They might differ only in time attributes or directory size."
3331 (tramp--test-file-attributes-equal-p 3331 (tramp--test-file-attributes-equal-p
3332 (file-attributes (car elt)) (cdr elt)))) 3332 (file-attributes (car elt)) (cdr elt))))
3333 3333
3334 (setq attr (directory-files-and-attributes tmp-name2 nil "^b")) 3334 (setq attr (directory-files-and-attributes tmp-name2 nil "\\`b"))
3335 (should (equal (mapcar #'car attr) '("bar" "boz")))) 3335 (should (equal (mapcar #'car attr) '("bar" "boz"))))
3336 3336
3337 ;; Cleanup. 3337 ;; Cleanup.