bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17859: tramp-test31-utf8 aborts


From: Michael Albinus
Subject: bug#17859: tramp-test31-utf8 aborts
Date: Fri, 27 Jun 2014 11:20:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]