GNU bug report logs - #20117
25.0.50; Tramp tests failing on Cygwin

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Mon, 16 Mar 2015 15:01:01 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 25.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

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: Ken Brown <kbrown <at> cornell.edu>
Cc: 20117 <at> debbugs.gnu.org
Subject: bug#20117: 25.0.50; Tramp tests failing on Cygwin
Date: Mon, 16 Mar 2015 19:48:02 +0100
Ken Brown <kbrown <at> cornell.edu> writes:

> Several Tramp tests have recently started failing on Cygwin, the first
> being tramp-test19-directory-files-and-attributes.  The test aborts
> after the failure:
>
> Test tramp-test19-directory-files-and-attributes aborted with non-local exit
>   ABORTED  20/35  tramp-test19-directory-files-and-attributes

All tests in tramp-tests.el can be instrumented like this:

--8<---------------cut here---------------start------------->8---
*** /home/albinus/src/emacs/test/automated/tramp-tests.el.~master~	2015-03-16 19:42:03.629467429 +0100
--- /home/albinus/src/emacs/test/automated/tramp-tests.el	2015-03-16 17:41:30.112292199 +0100
***************
*** 1024,1029 ****
--- 1024,1030 ----
    "Check `directory-files-and-attributes'."
    (skip-unless (tramp--test-enabled))
  
+   (tramp--instrument-test-case 10
    ;; `directory-files-and-attributes' contains also values for "../".
    ;; Ensure that this doesn't change during tests, for
    ;; example due to handling temporary files.
***************
*** 1059,1065 ****
  	       (equal (file-attributes (car elt)) (cdr elt)))))
  	  (setq attr (directory-files-and-attributes tmp-name2 nil "^b"))
  	  (should (equal (mapcar 'car attr) '("bar" "boz"))))
!       (ignore-errors (delete-directory tmp-name1 'recursive)))))
  
  (ert-deftest tramp-test20-file-modes ()
    "Check `file-modes'.
--- 1060,1066 ----
  	       (equal (file-attributes (car elt)) (cdr elt)))))
  	  (setq attr (directory-files-and-attributes tmp-name2 nil "^b"))
  	  (should (equal (mapcar 'car attr) '("bar" "boz"))))
!       (ignore-errors (delete-directory tmp-name1 'recursive))))))
  
  (ert-deftest tramp-test20-file-modes ()
    "Check `file-modes'.
--8<---------------cut here---------------end--------------->8---

There will be a lot of traces in the test's *Messages* buffer. If you
run the Tramp tests interactively, go with the cursor to the failed test
and type "m". In batchmode, it shall be dumped.

> Ken

Best regards, Michael.




This bug report was last modified 10 years and 71 days ago.

Previous Next


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