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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23614 in the body.
You can then email your comments to 23614 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23614; Package emacs. (Tue, 24 May 2016 21:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ken Brown <kbrown <at> cornell.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 24 May 2016 21:01:02 GMT) Full text and rfc822 format available.

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

From: Ken Brown <kbrown <at> cornell.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1.50; tramp-test24-file-name-completion fails on Cygwin
Date: Tue, 24 May 2016 16:59:49 -0400
Hi Michael,

$ 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?

Ken


In GNU Emacs 25.1.50.26 (x86_64-unknown-cygwin, GTK+ Version 3.18.9)
 of 2016-05-24 built on moufang
Repository revision: 1ee91bf89176251f6e399c8436dca0248cdd6f6b

Configured using:
 'configure 'CFLAGS=-O0 -ggdb''

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23614; Package emacs. (Wed, 25 May 2016 06:45:02 GMT) Full text and rfc822 format available.

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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23614; Package emacs. (Wed, 25 May 2016 13:31:02 GMT) Full text and rfc822 format available.

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

From: Ken Brown <kbrown <at> cornell.edu>
To: Michael Albinus <michael.albinus <at> gmx.de>
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 09:30:21 -0400
[Message part 1 (text/plain, inline)]
On 5/25/2016 2:43 AM, Michael Albinus wrote:
> Please instrument the test case:

> Send tramp-tests.log.

Attached.

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

  wget http://sanibeltranquility.com/cygwin/emacs.exe.xz

This is built for 32-bit Cygwin running cygwin-2.5.1-1.

Best regards,

Ken
[tramp-tests.log.xz (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23614; Package emacs. (Thu, 26 May 2016 18:03:02 GMT) Full text and rfc822 format available.

Message #14 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: Thu, 26 May 2016 20:02:28 +0200
Ken Brown <kbrown <at> cornell.edu> writes:

Hi Ken,

> On 5/25/2016 2:43 AM, Michael Albinus wrote:
>> Please instrument the test case:
>
>> Send tramp-tests.log.
>
> Attached.

Thanks. Finally, I could reproduce it on a Windows machine. The tests
I've added in April are not applicable on MS Windows, so I've simply
suppressed them for this case.

While I was working on this, I've found two other problems which are
fixed now as well. All committed to master.

Could you, pls, cross-check?

>> Btw, do you have a recent master build somewhere which I could install
>> and test in a Cygwin environment?
>
>   wget http://sanibeltranquility.com/cygwin/emacs.exe.xz
>
> This is built for 32-bit Cygwin running cygwin-2.5.1-1.

Thanks, but somehow I couldn't make it work. So I've tested with an
older Emacs, which was reasonable, fortunately.

> Best regards,
>
> Ken

Best regards, Michael.




Reply sent to Ken Brown <kbrown <at> cornell.edu>:
You have taken responsibility. (Thu, 26 May 2016 18:58:02 GMT) Full text and rfc822 format available.

Notification sent to Ken Brown <kbrown <at> cornell.edu>:
bug acknowledged by developer. (Thu, 26 May 2016 18:58:02 GMT) Full text and rfc822 format available.

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

From: Ken Brown <kbrown <at> cornell.edu>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 23614-done <at> debbugs.gnu.org
Subject: Re: bug#23614: 25.1.50; tramp-test24-file-name-completion fails on
 Cygwin
Date: Thu, 26 May 2016 14:57:49 -0400
On 5/26/2016 2:02 PM, Michael Albinus wrote:
> Thanks. Finally, I could reproduce it on a Windows machine. The tests
> I've added in April are not applicable on MS Windows, so I've simply
> suppressed them for this case.

Thanks, Michael.  The tramp tests are now fine on Cygwin.  Closing.

Best regards,

Ken





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 24 Jun 2016 11:24:04 GMT) Full text and rfc822 format available.

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.