From: Glenn Morris Date: Thu, 18 Jul 2019 15:03:36 +0000 (-0700) Subject: Update a tramp test for get-free-disk-space change X-Git-Tag: emacs-27.0.90~1865 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=decfdb091ab94bc83564821d29ac0832b45c8d00;p=emacs.git 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. --- 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'." (looking-at-p (concat ;; There might be a summary line. - "\\(total.+[[:digit:]]+\n\\)?" + "\\(total.+[[:digit:]]+[KMGTPEZY]?\n\\)?" ;; We don't know in which order ".", ".." and "foo" appear. (format "\\(.+ %s\\( ->.+\\)?\n\\)\\{%d\\}"