Subject: bug#23614: 25.1.50; tramp-test24-file-name-completion fails on Cygwin

From: Michael Albinus <[email-masked]>
Date: Wed, 25 May 2016 08:43:56 +0200

Ken Brown <[email-masked]> 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.