From decfdb091ab94bc83564821d29ac0832b45c8d00 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 18 Jul 2019 08:03:36 -0700 Subject: [PATCH] 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. --- test/lisp/net/tramp-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\\}" -- 2.39.2