1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-24 19:03:29 +00:00

* automated/tramp-tests.el (tramp-test17-insert-directory): Do not

expect a given order of "." and "..".
This commit is contained in:
Michael Albinus 2014-12-25 22:00:08 +01:00
parent a41d07b329
commit 4cd6d77375
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-12-25 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp-test17-insert-directory): Do not
expect a given order of "." and "..".
2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
* automated/python-tests.el (python-indent-electric-colon-2)

View File

@ -953,7 +953,12 @@ This tests also `file-directory-p' and `file-accessible-directory-p'."
(goto-char (point-min))
(should
(looking-at-p
"\\(total.+[[:digit:]]+\n\\)?.+ \\.\n.+ \\.\\.\n.+ foo$"))))
(concat
;; There might be a summary line.
"\\(total.+[[:digit:]]+\n\\)?"
;; We don't know in which order "." and ".." appear.
"\\(.+ \\.?\\.\n\\)\\{2\\}"
".+ foo$")))))
(ignore-errors (delete-directory tmp-name1 'recursive)))))
(ert-deftest tramp-test18-file-attributes ()