diff options
| author | Mattias EngdegÄrd | 2019-07-20 19:16:38 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2019-07-22 16:38:02 +0200 |
| commit | d0eeb62c43cc3041b322249b488ad157c506abaa (patch) | |
| tree | 8ae572d5e714cc58898aa9a2fdab48ab52c447ab /test | |
| parent | 7f95d2d40726b4fb4a2ba1b8c373f3498e286d34 (diff) | |
| download | emacs-d0eeb62c43cc3041b322249b488ad157c506abaa.tar.gz emacs-d0eeb62c43cc3041b322249b488ad157c506abaa.zip | |
Make tramp test regexp more robust
* test/lisp/net/tramp-tests.el (tramp-test17-insert-directory):
Match a greater variety of human-readable size values.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 64ba0414e88..1404ef39d55 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -2827,7 +2827,7 @@ This tests also `file-directory-p' and `file-accessible-directory-p'." | |||
| 2827 | (looking-at-p | 2827 | (looking-at-p |
| 2828 | (concat | 2828 | (concat |
| 2829 | ;; There might be a summary line. | 2829 | ;; There might be a summary line. |
| 2830 | "\\(total.+[[:digit:]]+[KMGTPEZY]?\n\\)?" | 2830 | "\\(total.+[[:digit:]]+ ?[kKMGTPEZY]?i?B?\n\\)?" |
| 2831 | ;; We don't know in which order ".", ".." and "foo" appear. | 2831 | ;; We don't know in which order ".", ".." and "foo" appear. |
| 2832 | (format | 2832 | (format |
| 2833 | "\\(.+ %s\\( ->.+\\)?\n\\)\\{%d\\}" | 2833 | "\\(.+ %s\\( ->.+\\)?\n\\)\\{%d\\}" |