unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Glenn Morris <rgm@gnu.org>
Cc: 17859@debbugs.gnu.org
Subject: bug#17859: tramp-test31-utf8 aborts
Date: Fri, 27 Jun 2014 11:20:45 +0200	[thread overview]
Message-ID: <87lhsiso7m.fsf@gmx.de> (raw)
In-Reply-To: <smsimrv7fw.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 26 Jun 2014 14:42:27 -0400")

Glenn Morris <rgm@gnu.org> writes:

> Package: emacs
> Version: 24.4.50
>
> Current trunk on x86_64 RHEL 6.5. tramp-test31-utf8 aborts (in that ert
> aborts the test, not that it makes Emacs abort):
>
> A tramp-test31-utf8
>     Check UTF8 encoding in file names and file contents.
>     aborted
>
> I'm not sure how to get useful information out of it.

Please instrument the test case. It will be verbose then:

--8<---------------cut here---------------start------------->8---
*** /home/albinus/src/emacs/test/automated/tramp-tests.el.~117420~	2014-06-27 11:06:25.011224723 +0200
--- /home/albinus/src/emacs/test/automated/tramp-tests.el	2014-06-27 11:04:39.554701793 +0200
***************
*** 1481,1486 ****
--- 1481,1487 ----
  
  (defun tramp--test-check-files (&rest files)
    "Runs a simple but comprehensive test over every file in FILES."
+   (tramp--instrument-test-case 10
    (let ((tmp-name1 (tramp--test-make-temp-name))
  	(tmp-name2 (tramp--test-make-temp-name 'local)))
      (unwind-protect
***************
*** 1532,1538 ****
  			  tmp-name2 nil directory-files-no-dot-files-regexp))))
  
        (ignore-errors (delete-directory tmp-name1 'recursive))
!       (ignore-errors (delete-directory tmp-name2 'recursive)))))
  
  ;; This test is inspired by Bug#17238.
  (ert-deftest tramp-test30-special-characters ()
--- 1533,1539 ----
  			  tmp-name2 nil directory-files-no-dot-files-regexp))))
  
        (ignore-errors (delete-directory tmp-name1 'recursive))
!       (ignore-errors (delete-directory tmp-name2 'recursive))))))
  
  ;; This test is inspired by Bug#17238.
  (ert-deftest tramp-test30-special-characters ()
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.





  reply	other threads:[~2014-06-27  9:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-26 18:42 bug#17859: tramp-test31-utf8 aborts Glenn Morris
2014-06-27  9:20 ` Michael Albinus [this message]
2014-06-27 18:57   ` Glenn Morris
2014-06-29 18:35     ` Michael Albinus
2014-06-30  0:50       ` Glenn Morris
2014-07-01 14:06         ` Michael Albinus
2014-07-01 15:54           ` Glenn Morris
2014-07-01 19:38             ` Michael Albinus

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lhsiso7m.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=17859@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).