unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu,
	yegortimoshenko@gmail.com
Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP
Date: Fri, 04 Sep 2020 17:40:36 +0300	[thread overview]
Message-ID: <83eenhtxjv.fsf@gnu.org> (raw)
In-Reply-To: <87wo19r6m2.fsf@gmx.de> (message from Michael Albinus on Fri, 04 Sep 2020 15:53:09 +0200)

> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: eggert@cs.ucla.edu,  26911@debbugs.gnu.org,  mattiase@acm.org,
>   yegortimoshenko@gmail.com
> Date: Fri, 04 Sep 2020 15:53:09 +0200
> 
> > I did, but most of the tests are skipped.  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.
> 
> Well, first check whether you can connect the remote host in
> question. Try it interactively:
> 
> C-x C-f /plink:user@host:/tmp
> 
> ("user" and "host" at your taste). The connection shall not require a
> password. Alternatively, if you have created a PuTTy session with name
> "session", you could use instead "/plinkx:session:/tmp".
> 
> Then, according to my MS Windows blurb, run in a CMD window:
> 
> --8<---------------cut here---------------start------------->8---
> > set REMOTE_TEMPORARY_FILE_DIRECTORY=/plink:user@host:/tmp
> > %HOMEPATH%\Desktop\emacs-28.0.50\bin\emacs.exe -Q -batch -L X:\src\tramp\lisp -l X:\src\tramp\test\tramp-tests.el -f ert-run-tests-batch-and-exit
> --8<---------------cut here---------------end--------------->8---

OK, thanks.  This worked.  The results (see below) are mixed, but the
problems seem mostly to have something to do with the remote system,
not with Emacs.

The first 27 tests all passed.  Then things went south, with all the
rest but the last 5 tests failing.  The failures are pretty similar,
and can be divided into the following groups:

  . (file-error "Method `plink' should specify both encoding and decoding command or an scp program")

  . (file-error "Couldn't find command to check if file exists")

  .  (file-error "Tramp failed to connect.  If this happens repeatedly, try `M-x tramp-cleanup-this-connection'")

The last error always followed the penultimate one.  Usually, 3
"failed to connect" errors after each couldn't find command".

Several tests failed with other error messages:

  . Test tramp-test17-insert-directory backtrace:
     signal(wrong-type-argument ("listp sh:"))

  . 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))

  . 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.0.50,tramp:2.5.0-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.765625 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?





  reply	other threads:[~2020-09-04 14:40 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-13 16:15 bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Yegor Timoshenko
2017-05-13 18:25 ` Michael Albinus
2017-05-13 18:30   ` Yegor Timoshenko
2017-05-15 15:53     ` Michael Albinus
2020-08-26 20:39 ` Paul Eggert
2020-08-27 11:46   ` Michael Albinus
2020-08-27 18:31 ` Mattias Engdegård
2020-08-27 18:38   ` Eli Zaretskii
2020-08-27 18:54     ` Stephen Berman
2020-08-27 21:53   ` Paul Eggert
2020-08-28  6:39     ` Eli Zaretskii
2020-08-28  7:01       ` Eli Zaretskii
2020-08-28 10:48         ` Eli Zaretskii
2020-08-29  5:52           ` Paul Eggert
2020-08-29  6:31             ` Eli Zaretskii
2020-08-29 16:46               ` Paul Eggert
2020-08-29 16:59                 ` Michael Albinus
2020-08-29 18:29                   ` Eli Zaretskii
2020-08-29 19:12                     ` Michael Albinus
2020-08-29 19:31                       ` Eli Zaretskii
2020-08-30  9:46                         ` Michael Albinus
2020-08-30 14:14                           ` Eli Zaretskii
2020-08-29 18:26                 ` Eli Zaretskii
2020-08-29 20:42                   ` Paul Eggert
2020-08-30 14:09                     ` Eli Zaretskii
2020-08-30 21:39                       ` Paul Eggert
2020-08-31 14:58                         ` Eli Zaretskii
2020-08-31 18:15                           ` Paul Eggert
2020-08-31 18:56                             ` Eli Zaretskii
2020-08-31 23:36                               ` Paul Eggert
2020-09-01  2:33                                 ` Eli Zaretskii
2020-09-03 17:27                           ` Eli Zaretskii
2020-09-03 17:42                             ` Michael Albinus
2020-09-04 11:55                             ` Michael Albinus
2020-09-04 12:25                               ` Eli Zaretskii
2020-09-04 13:53                                 ` Michael Albinus
2020-09-04 14:40                                   ` Eli Zaretskii [this message]
2020-09-04 15:20                                     ` Eli Zaretskii
2020-09-04 15:59                                       ` Michael Albinus
2020-09-04 17:42                                         ` Eli Zaretskii
2020-09-05  8:34                                           ` Michael Albinus
2020-09-05 11:18                                             ` Eli Zaretskii
2020-09-05 11:32                                               ` Eli Zaretskii
2020-09-05 15:57                                               ` Michael Albinus
2020-09-05 16:33                                                 ` Eli Zaretskii
2020-09-05 17:08                                                   ` Eli Zaretskii
2020-09-05 17:36                                                   ` Michael Albinus
2020-09-05 17:56                                                     ` Eli Zaretskii
2020-09-04 16:09                                     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83eenhtxjv.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=26911@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=mattiase@acm.org \
    --cc=michael.albinus@gmx.de \
    --cc=yegortimoshenko@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).