From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Date: Sat, 29 Aug 2020 22:31:21 +0300 Message-ID: <83h7slxn92.fsf@gnu.org> References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <87eenp75hi.fsf@gmx.de> <83r1rpxq4d.fsf@gnu.org> <87tuwl5krl.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21327"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 29 21:32:21 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kC6aL-0005RW-F6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Aug 2020 21:32:21 +0200 Original-Received: from localhost ([::1]:43860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kC6aK-00078T-EB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Aug 2020 15:32:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kC6a2-00078H-9b for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 15:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kC6a1-0002Hj-Ve for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 15:32:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kC6a1-0004MU-QT for bug-gnu-emacs@gnu.org; Sat, 29 Aug 2020 15:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Aug 2020 19:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159872950016739 (code B ref 26911); Sat, 29 Aug 2020 19:32:01 +0000 Original-Received: (at 26911) by debbugs.gnu.org; 29 Aug 2020 19:31:40 +0000 Original-Received: from localhost ([127.0.0.1]:49178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC6Zf-0004Lu-SL for submit@debbugs.gnu.org; Sat, 29 Aug 2020 15:31:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kC6Zd-0004Lg-0w for 26911@debbugs.gnu.org; Sat, 29 Aug 2020 15:31:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57644) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kC6ZV-0002GW-Nv; Sat, 29 Aug 2020 15:31:29 -0400 Original-Received: from [176.228.60.248] (port=1182 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kC6ZU-00036L-JH; Sat, 29 Aug 2020 15:31:29 -0400 In-Reply-To: <87tuwl5krl.fsf@gmx.de> (message from Michael Albinus on Sat, 29 Aug 2020 21:12:30 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:186676 Archived-At: > From: Michael Albinus > Cc: eggert@cs.ucla.edu, 26911@debbugs.gnu.org, mattiase@acm.org, > yegortimoshenko@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@host:/tmp > > prior the make call. This variant seems to work: REMOTE_TEMPORARY_FILE_DIRECTORY=/plink:user@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