projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f95d2d
)
Make tramp test regexp more robust
author
Mattias Engdegård
<mattiase@acm.org>
Sat, 20 Jul 2019 17:16:38 +0000
(19:16 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Mon, 22 Jul 2019 14:38:02 +0000
(16:38 +0200)
* test/lisp/net/tramp-tests.el (tramp-test17-insert-directory):
Match a greater variety of human-readable size values.
test/lisp/net/tramp-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/net/tramp-tests.el
b/test/lisp/net/tramp-tests.el
index 64ba0414e88e3500f7222362493fdc84d28b37d9..1404ef39d55f43d0bfc17256fea190d3ad2419ec 100644
(file)
--- 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:]]+
[KMGTPEZY]
?\n\\)?"
+ "\\(total.+[[:digit:]]+
?[kKMGTPEZY]?i?B
?\n\\)?"
;; We don't know in which order ".", ".." and "foo" appear.
(format
"\\(.+ %s\\( ->.+\\)?\n\\)\\{%d\\}"