GNU bug report logs - #36940
tests slowness and failure after recent Tramp changes

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Tue, 6 Aug 2019 00:29:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Paul Eggert <eggert <at> cs.ucla.edu>, 36940 <at> debbugs.gnu.org
Subject: bug#36940: tests slowness and failure after recent Tramp changes
Date: Mon, 26 Aug 2019 17:09:28 +0200
[Message part 1 (text/plain, inline)]
Stefan Kangas <stefan <at> marxist.se> writes:

Hi Stefan,

> Absolutely.  On current master (commit f87ace2aed), I'm now seeing:
>
> 3 unexpected results:
>    FAILED  tramp-test41-utf8
>    FAILED  tramp-test41-utf8-with-ls
>    FAILED  tramp-test41-utf8-with-perl

Well, so we've fixed tramp-test19-directory-files-and-attributes at least.
Progress!

> Test tramp-test41-utf8 condition:
>     (search-failed "^VAR_971C287AFA5BBEDD54ACB58B1CE718B4=Γυρίστε το Γαλαξία με Ώτο Στοπ$")
>    FAILED  58/67  tramp-test41-utf8 (35.618526 sec)

Hmm, the string is still decomposed. Let's give it a last try, writing
some traces. Could you pls apply the patch, and send the result. You
could call

make -C test lisp/net/tramp-tests.log SELECTOR='tramp-test41-utf8'

[Message part 2 (text/x-patch, inline)]
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 9930a2c9e1..69dadcd107 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -5288,6 +5288,14 @@ tramp--test-check-files
 		  (setenv "PS1")
 		  (with-temp-buffer
 		    (should (zerop (process-file "env" nil t nil)))
+                    (tramp--test-message
+                     "coding-sytem: `%s' `%s'"
+                     coding-system-for-read coding-system-for-write )
+                    (tramp--test-message "search: `%s'" (getenv envvar))
+                    (let ((coding-system-for-read 'no-conversion)
+                          (coding-system-for-write 'no-conversion))
+                      (tramp--test-message "search: `%s'" (getenv envvar))
+                      (tramp--test-message "buffer: `%s'" (buffer-string)))
 		    (goto-char (point-min))
 		    (should
 		     (re-search-forward
[Message part 3 (text/plain, inline)]
Best regards, Michael.

This bug report was last modified 5 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.