GNU bug report logs - #23614
25.1.50; tramp-test24-file-name-completion fails on Cygwin

Previous Next

Package: emacs;

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

Date: Tue, 24 May 2016 21:01:02 UTC

Severity: minor

Found in version 25.1.50

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 23614 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: 23614 <at> debbugs.gnu.org
Subject: Re: bug#23614: 25.1.50;
 tramp-test24-file-name-completion fails on Cygwin
Date: Wed, 25 May 2016 08:43:56 +0200
Ken Brown <kbrown <at> cornell.edu> writes:

> Hi Michael,

Hi Ken,

> $ make -C test tramp-tests
> make: Entering directory '/home/kbrown/src/emacs/64build/test'
> [...]
> Test tramp-test24-file-name-completion condition:
>     (ert-test-failed
>      ((should
>        (member
>         (format "%s:" method)
>         (file-name-all-completions ... "/")))
>       :form
>       (member "mock:" nil)
>       :value nil))
>    FAILED  25/42  tramp-test24-file-name-completion
>
> What can I do to help debug this?

Please instrument the test case:

--8<---------------cut here---------------start------------->8---
*** /home/albinus/src/emacs/test/lisp/net/tramp-tests.el.~1ee91bf89176251f6e399c8436dca0248cdd6f6b~	2016-05-25 08:39:42.884936706 +0200
--- /home/albinus/src/emacs/test/lisp/net/tramp-tests.el	2016-05-25 08:39:17.328591345 +0200
***************
*** 1372,1377 ****
--- 1372,1378 ----
    "Check `file-name-completion' and `file-name-all-completions'."
    (skip-unless (tramp--test-enabled))
  
+   (tramp--instrument-test-case 10
    (dolist (n-e '(nil t))
      (let ((non-essential n-e)
  	  (tmp-name (tramp--test-make-temp-name))
***************
*** 1417,1423 ****
  	      '("bold" "boz/"))))
  
  	;; Cleanup.
! 	(ignore-errors (delete-directory tmp-name 'recursive))))))
  
  (ert-deftest tramp-test25-load ()
    "Check `load'."
--- 1418,1424 ----
  	      '("bold" "boz/"))))
  
  	;; Cleanup.
! 	(ignore-errors (delete-directory tmp-name 'recursive)))))))
  
  (ert-deftest tramp-test25-load ()
    "Check `load'."
--8<---------------cut here---------------end--------------->8---

Send tramp-tests.log.

Btw, do you have a recent master build somewhere which I could install
and test in a Cygwin environment?

> Ken

Best regards, Michael.




This bug report was last modified 9 years and 1 day ago.

Previous Next


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