From: "Mattias Engdegård" <mattiase@acm.org>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Cc: Oleh Krehel <ohwoeowho@gmail.com>,
Emacs developers <emacs-devel@gnu.org>
Subject: Re: [Emacs-diffs] master fd54102: * lisp/files.el (file-size-function): New defcustom
Date: Sat, 20 Jul 2019 19:30:26 +0200 [thread overview]
Message-ID: <7D6BBD73-017F-4A2D-9CBC-0EF67FBF5CC3@acm.org> (raw)
In-Reply-To: <87tvbgabra.fsf@tcd.ie>
[-- Attachment #1: Type: text/plain, Size: 594 bytes --]
20 juli 2019 kl. 18.53 skrev Basil L. Contovounesios <contovob@tcd.ie>:
>
> [I wish changes like this (and its recent predecessors, which caused
> test failues that others had to fix), even if small, to central
> user-facing features were instead discussed and tested a little before
> being unilaterally pushed.]
So sorry for breaking things, and I'll be more careful. Surely the right correction is to fix the test, unless the change itself somehow was deemed questionable (which I never saw any indication of)?
Proposed patch attached. With it applied, the test passes again.
[-- Attachment #2: 0001-Make-tramp-test-regexp-more-robust.patch --]
[-- Type: application/octet-stream, Size: 1003 bytes --]
From a6ef72c0b6bea52d359858e519ea050a071f1d1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mattias=20Engdeg=C3=A5rd?= <mattiase@acm.org>
Date: Sat, 20 Jul 2019 19:16:38 +0200
Subject: [PATCH] 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.
---
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 64ba0414e8..1404ef39d5 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -2827,7 +2827,7 @@ tramp--test-print-duration
(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\\}"
--
2.20.1 (Apple Git-117)
next prev parent reply other threads:[~2019-07-20 17:30 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190719165710.17673.32987@vcs0.savannah.gnu.org>
[not found] ` <20190719165711.741F1206A7@vcs0.savannah.gnu.org>
2019-07-20 16:53 ` [Emacs-diffs] master fd54102: * lisp/files.el (file-size-function): New defcustom Basil L. Contovounesios
2019-07-20 17:06 ` Eli Zaretskii
2019-07-20 17:38 ` Oleh Krehel
2019-07-20 17:45 ` Eli Zaretskii
2019-07-20 17:50 ` Oleh Krehel
2019-07-20 17:56 ` Eli Zaretskii
2019-07-20 18:50 ` Basil L. Contovounesios
2019-07-22 15:26 ` Mattias Engdegård
2019-07-22 16:15 ` Oleh Krehel
2019-07-22 20:14 ` Stefan Monnier
2019-07-26 10:43 ` Mattias Engdegård
2019-07-26 14:39 ` Basil L. Contovounesios
2019-07-26 21:39 ` Mattias Engdegård
2019-07-22 17:29 ` Eli Zaretskii
2019-07-20 17:30 ` Mattias Engdegård [this message]
2019-07-20 18:48 ` Basil L. Contovounesios
2019-07-20 19:06 ` Mattias Engdegård
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7D6BBD73-017F-4A2D-9CBC-0EF67FBF5CC3@acm.org \
--to=mattiase@acm.org \
--cc=contovob@tcd.ie \
--cc=emacs-devel@gnu.org \
--cc=ohwoeowho@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.