GNU bug report logs - #26911
25.2; eshell "cd .." doesn't work correctly with TRAMP

Previous Next

Package: emacs;

Reported by: Yegor Timoshenko <yegortimoshenko <at> gmail.com>

Date: Sat, 13 May 2017 16:39:02 UTC

Severity: normal

Tags: confirmed

Found in version 25.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 26911 <at> debbugs.gnu.org, mattiase <at> acm.org, eggert <at> cs.ucla.edu,
 yegortimoshenko <at> gmail.com
Subject: Re: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP
Date: Sat, 29 Aug 2020 22:31:21 +0300
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Cc: eggert <at> cs.ucla.edu,  26911 <at> debbugs.gnu.org,  mattiase <at> acm.org,
>   yegortimoshenko <at> gmail.com
> Date: Sat, 29 Aug 2020 21:12:30 +0200
> 
> > I tried running "make tramp-tests", but all I get is this:
> >
> >     GEN      lisp/net/tramp-tests.log
> >   Not a Tramp file name: "NUL"
> >
> > Any suggestions?
> 
> Hmm, yes: on MS Windows, the mock trick doesn't work. I hoped, that at
> least the tests which do not need a real connection do work.
> 
> Well, if you have a remote host reachable via putty, which has also a
> /tmp directory, you could try
> 
> set REMOTE_TEMPORARY_FILE_DIRECTORY=/plink:user <at> host:/tmp
> 
> prior the make call.

This variant seems to work:

  REMOTE_TEMPORARY_FILE_DIRECTORY=/plink:user <at> host:/tmp make lisp/net/tramp-tests

Most of the tests are "skipped", but the one you were interested in
isn't skipped, and indeed fails:

  Test tramp-test05-expand-file-name condition:
      (ert-test-failed
       ((should
	 (string-equal
	  (expand-file-name "/method:host:/path/.")
	  (if ... "/method:host:/path/" "/method:host:/path")))
	:form
	(string-equal "/method:host:/path" "/method:host:/path/")
	:value nil))
     FAILED  12/70  tramp-test05-expand-file-name (0.000000 sec)

HTH




This bug report was last modified 4 years and 257 days ago.

Previous Next


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