]> git.eshelyaron.com Git - emacs.git/commitdiff
Update a tramp test for get-free-disk-space change
authorGlenn Morris <rgm@gnu.org>
Thu, 18 Jul 2019 15:03:36 +0000 (08:03 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 18 Jul 2019 15:03:36 +0000 (08:03 -0700)
* test/lisp/net/tramp-tests.el (tramp-test17-insert-directory):
Handle optional unit suffix in free space.

test/lisp/net/tramp-tests.el

index a12e41a882287c06bef80ac5a021df7fac41b90a..64ba0414e88e3500f7222362493fdc84d28b37d9 100644 (file)
@@ -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\\}"