diff options
| author | Michael Albinus | 2014-12-25 22:00:08 +0100 |
|---|---|---|
| committer | Michael Albinus | 2014-12-25 22:00:08 +0100 |
| commit | 4cd6d77375ef9adeaa53fd05b12283195d99d74c (patch) | |
| tree | 358220155ad21ac6892c3600add32b6f3e9093d3 | |
| parent | a41d07b329c034ad34e442bef93b6fcaeb556f9f (diff) | |
| download | emacs-4cd6d77375ef9adeaa53fd05b12283195d99d74c.tar.gz emacs-4cd6d77375ef9adeaa53fd05b12283195d99d74c.zip | |
* automated/tramp-tests.el (tramp-test17-insert-directory): Do not
expect a given order of "." and "..".
| -rw-r--r-- | test/ChangeLog | 5 | ||||
| -rw-r--r-- | test/automated/tramp-tests.el | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index a91392d3fe7..14780c09e6f 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-12-25 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * automated/tramp-tests.el (tramp-test17-insert-directory): Do not | ||
| 4 | expect a given order of "." and "..". | ||
| 5 | |||
| 1 | 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org> | 6 | 2014-12-22 Fabián Ezequiel Gallina <fgallina@gnu.org> |
| 2 | 7 | ||
| 3 | * automated/python-tests.el (python-indent-electric-colon-2) | 8 | * automated/python-tests.el (python-indent-electric-colon-2) |
diff --git a/test/automated/tramp-tests.el b/test/automated/tramp-tests.el index 864a43d638f..317ce12fc8e 100644 --- a/test/automated/tramp-tests.el +++ b/test/automated/tramp-tests.el | |||
| @@ -953,7 +953,12 @@ This tests also `file-directory-p' and `file-accessible-directory-p'." | |||
| 953 | (goto-char (point-min)) | 953 | (goto-char (point-min)) |
| 954 | (should | 954 | (should |
| 955 | (looking-at-p | 955 | (looking-at-p |
| 956 | "\\(total.+[[:digit:]]+\n\\)?.+ \\.\n.+ \\.\\.\n.+ foo$")))) | 956 | (concat |
| 957 | ;; There might be a summary line. | ||
| 958 | "\\(total.+[[:digit:]]+\n\\)?" | ||
| 959 | ;; We don't know in which order "." and ".." appear. | ||
| 960 | "\\(.+ \\.?\\.\n\\)\\{2\\}" | ||
| 961 | ".+ foo$"))))) | ||
| 957 | (ignore-errors (delete-directory tmp-name1 'recursive))))) | 962 | (ignore-errors (delete-directory tmp-name1 'recursive))))) |
| 958 | 963 | ||
| 959 | (ert-deftest tramp-test18-file-attributes () | 964 | (ert-deftest tramp-test18-file-attributes () |