diff options
| author | Glenn Morris | 2019-07-18 08:03:36 -0700 |
|---|---|---|
| committer | Glenn Morris | 2019-07-18 08:03:36 -0700 |
| commit | decfdb091ab94bc83564821d29ac0832b45c8d00 (patch) | |
| tree | 76d7e15da555cd79bc696f28e3174d81eedf3c24 | |
| parent | a4e57274cc3ad920d6113700ce6496e85eb66ebb (diff) | |
| download | emacs-decfdb091ab94bc83564821d29ac0832b45c8d00.tar.gz emacs-decfdb091ab94bc83564821d29ac0832b45c8d00.zip | |
Update a tramp test for get-free-disk-space change
* test/lisp/net/tramp-tests.el (tramp-test17-insert-directory):
Handle optional unit suffix in free space.
| -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 a12e41a8822..64ba0414e88 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:]]+\n\\)?" | 2830 | "\\(total.+[[:digit:]]+[KMGTPEZY]?\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\\}" |