[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20117: 25.0.50; Tramp tests failing on Cygwin
From: |
Michael Albinus |
Subject: |
bug#20117: 25.0.50; Tramp tests failing on Cygwin |
Date: |
Mon, 16 Mar 2015 19:48:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Ken Brown <kbrown@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.
- bug#20117: 25.0.50; Tramp tests failing on Cygwin, Ken Brown, 2015/03/16
- bug#20117: 25.0.50; Tramp tests failing on Cygwin,
Michael Albinus <=
- bug#20117: 25.0.50; Tramp tests failing on Cygwin, Ken Brown, 2015/03/16
- bug#20117: 25.0.50; Tramp tests failing on Cygwin, Ken Brown, 2015/03/17
- bug#20117: 25.0.50; Tramp tests failing on Cygwin, Michael Albinus, 2015/03/17
- bug#20117: 25.0.50; Tramp tests failing on Cygwin, Ken Brown, 2015/03/17
- bug#20117: 25.0.50; Tramp tests failing on Cygwin, Michael Albinus, 2015/03/18
- bug#20117: 25.0.50; Tramp tests failing on Cygwin, Ken Brown, 2015/03/18
- bug#20117: 25.0.50; Tramp tests failing on Cygwin, Michael Albinus, 2015/03/18