Make tramp test regexp more robust
* test/lisp/net/tramp-tests.el (tramp-test17-insert-directory): Match a greater variety of human-readable size values.
This commit is contained in:
parent
7f95d2d407
commit
d0eeb62c43
1 changed files with 1 additions and 1 deletions
|
@ -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\\}"
|
||||
|
|
Loading…
Add table
Reference in a new issue