emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master decfdb0: Update a tramp test for get-free-disk-spac


From: Glenn Morris
Subject: [Emacs-diffs] master decfdb0: Update a tramp test for get-free-disk-space change
Date: Thu, 18 Jul 2019 11:03:51 -0400 (EDT)

branch: master
commit decfdb091ab94bc83564821d29ac0832b45c8d00
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    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 a12e41a..64ba041 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\\}"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]