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: Fri, 04 Sep 2020 18:20:29 +0300 Message-ID: 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> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="616"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android Cc: mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com To: 26911@debbugs.gnu.org, michael.albinus@gmx.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 04 17:21:12 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 1kEDWa-000AbW-C2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Sep 2020 17:21:12 +0200 Original-Received: from localhost ([::1]:35290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEDWZ-0000i6-CL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Sep 2020 11:21:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEDWQ-0000fK-Ij for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2020 11:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57057) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEDWP-0003iM-Op for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2020 11:21:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEDWP-00071t-Kn for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2020 11:21: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: Fri, 04 Sep 2020 15:21: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 X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, Michael Albinus X-Debbugs-Original-Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com Original-Received: via spool by submit@debbugs.gnu.org id=B.159923284926981 (code B ref -1); Fri, 04 Sep 2020 15:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Sep 2020 15:20:49 +0000 Original-Received: from localhost ([127.0.0.1]:40367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEDWC-000717-NL for submit@debbugs.gnu.org; Fri, 04 Sep 2020 11:20:49 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEDWB-000710-2D for submit@debbugs.gnu.org; Fri, 04 Sep 2020 11:20:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEDWA-0000WE-Sw for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2020 11:20:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44412) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEDW8-0003bT-VK; Fri, 04 Sep 2020 11:20:44 -0400 Original-Received: from [2001:4df7:0:5cc3::1] (port=38764) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1kEDW5-0002BM-3x; Fri, 04 Sep 2020 11:20:44 -0400 In-Reply-To: <83eenhtxjv.fsf@gnu.org> 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:187150 Archived-At: On September 4, 2020 5:40:36 PM GMT+03:00, Eli Zaretskii w= rote: >> From: Michael Albinus >> Cc: eggert@cs=2Eucla=2Eedu, 26911@debbugs=2Egnu=2Eorg, mattiase@acm= =2Eorg, >> yegortimoshenko@gmail=2Ecom >> Date: Fri, 04 Sep 2020 15:53:09 +0200 >>=20 >> > I did, but most of the tests are skipped=2E Can you teach me how to >> > enable them on MS-Windows? I can use PuTTY to connect to a remote >> > GNU/Linux machine where I have an account, if that is necessary=2E >>=20 >> Well, first check whether you can connect the remote host in >> question=2E Try it interactively: >>=20 >> C-x C-f /plink:user@host:/tmp >>=20 >> ("user" and "host" at your taste)=2E The connection shall not require a >> password=2E Alternatively, if you have created a PuTTy session with >name >> "session", you could use instead "/plinkx:session:/tmp"=2E >>=20 >> Then, according to my MS Windows blurb, run in a CMD window: >>=20 >> --8<---------------cut here---------------start------------->8--- >> > set REMOTE_TEMPORARY_FILE_DIRECTORY=3D/plink:user@host:/tmp >> > %HOMEPATH%\Desktop\emacs-28=2E0=2E50\bin\emacs=2Eexe -Q -batch -L >X:\src\tramp\lisp -l X:\src\tramp\test\tramp-tests=2Eel -f >ert-run-tests-batch-and-exit >> --8<---------------cut here---------------end--------------->8--- > >OK, thanks=2E This worked=2E The results (see below) are mixed, but the >problems seem mostly to have something to do with the remote system, >not with Emacs=2E > >The first 27 tests all passed=2E Then things went south, with all the >rest but the last 5 tests failing=2E The failures are pretty similar, >and can be divided into the following groups: > >=2E (file-error "Method `plink' should specify both encoding and decoding >command or an scp program") > > =2E (file-error "Couldn't find command to check if file exists") > >=2E (file-error "Tramp failed to connect=2E If this happens repeatedly, >try `M-x tramp-cleanup-this-connection'") > >The last error always followed the penultimate one=2E Usually, 3 >"failed to connect" errors after each couldn't find command"=2E > >Several tests failed with other error messages: > > =2E Test tramp-test17-insert-directory backtrace: > signal(wrong-type-argument ("listp sh:")) > > =2E Test tramp-test32-shell-command-dont-erase-buffer condition: > (ert-test-failed > ((should > (string-equal "barbaz > " > (buffer-string))) > :form > (string-equal "barbaz > " "bar") > :value nil)) > > =2E Test tramp-test33-environment-variables condition: > (ert-test-failed > ((should > (string-equal > (format "%s,tramp:%s > " emacs-version tramp-version) > (funcall this-shell-command-to-string "echo >${INSIDE_EMACS:-bla}"))) > :form > (string-equal "28=2E0=2E50,tramp:2=2E5=2E0-pre > " "") > :value nil)) > >Finally, the summary: > >Ran 71 tests, 32 results as expected, 28 unexpected, 11 skipped >(2020-09-04 17:27:32+0300, 1357=2E765625 sec) > > 28 unexpected results: > FAILED tramp-test17-insert-directory > FAILED tramp-test18-file-attributes > FAILED tramp-test19-directory-files-and-attributes > FAILED tramp-test20-file-modes > FAILED tramp-test21-file-links > FAILED tramp-test22-file-times > FAILED tramp-test23-visited-file-modtime > FAILED tramp-test26-file-name-completion > FAILED tramp-test27-load > FAILED tramp-test28-process-file > FAILED tramp-test29-start-file-process > FAILED tramp-test29-start-file-process-direct-async > FAILED tramp-test30-make-process > FAILED tramp-test30-make-process-direct-async > FAILED tramp-test31-interrupt-process > FAILED tramp-test32-shell-command > FAILED tramp-test32-shell-command-dont-erase-buffer > FAILED tramp-test33-environment-variables > FAILED tramp-test34-connection-local-variables > FAILED tramp-test34-explicit-shell-file-name > FAILED tramp-test35-exec-path > FAILED tramp-test35-remote-path > FAILED tramp-test36-vc-registered > FAILED tramp-test37-make-auto-save-file-name > FAILED tramp-test38-find-backup-file-name > FAILED tramp-test39-make-nearby-temp-file > FAILED tramp-test40-special-characters > FAILED tramp-test43-asynchronous-requests > > 11 skipped results: > SKIPPED tramp-test24-file-acl > SKIPPED tramp-test25-file-selinux > SKIPPED tramp-test33-environment-variables-and-port-numbers > SKIPPED tramp-test40-special-characters-with-ls > SKIPPED tramp-test40-special-characters-with-perl > SKIPPED tramp-test40-special-characters-with-stat > SKIPPED tramp-test41-utf8 > SKIPPED tramp-test41-utf8-with-ls > SKIPPED tramp-test41-utf8-with-perl > SKIPPED tramp-test41-utf8-with-stat > SKIPPED tramp-test42-file-system-info > >What can I do about the failed tests? Hold on, these problems might be due to some quota I've exceeded on the re= mote system=2E I'm unable to log in there, am trying to talk to the admins= about that=2E=2E=2E