From: Michael Albinus <michael.albinus@gmx.de>
To: Daniel Colascione <dancol@dancol.org>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Tramp test suite and network access
Date: Mon, 21 Apr 2014 10:09:04 +0200 [thread overview]
Message-ID: <87zjjfp0in.fsf@gmx.de> (raw)
In-Reply-To: <53546D0B.3090406@dancol.org> (Daniel Colascione's message of "Sun, 20 Apr 2014 17:57:47 -0700")
Daniel Colascione <dancol@dancol.org> writes:
Hi Daniel,
> Can we change the tramp test suite so that, by default, it doesn't try
> to access the network? If a host isn't connected to the network, tests
> can hang for a long time with no user-visible explanation, and even if
> network connectivity is available, ssh to the local system isn't
> guaranteed to work, or work without asking for input. (The tramp tests
> constantly ask me whether I want to connect.)
You can always set $REMOTE_TEMPORARY_FILE_DIRECTORY to /dev/null, prior
to running the test suite. See the Commentary section of tramp-tests.el.
Furthermore, there is `tramp--test-enabled'. It is intended to check,
whether the Tramp test suite shall run, or whether the tests shall be
skipped. If it doesn't work for you reliably, we shall improve the
checks.
> It'd also be nice to give Emacs /dev/null as its stdin when it's running
> the test suite. Is there any reason we want tests to be able to interact
> with the user?
Yes. IFF you want to run Tramp's tests, you might want to give them a
proper password.
Best regards, Michael.
next prev parent reply other threads:[~2014-04-21 8:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-21 0:57 Tramp test suite and network access Daniel Colascione
2014-04-21 7:12 ` Eli Zaretskii
2014-04-21 8:09 ` Michael Albinus [this message]
2014-04-21 8:10 ` Daniel Colascione
2014-04-21 8:32 ` Michael Albinus
2014-04-21 8:34 ` Daniel Colascione
2014-04-21 8:40 ` Michael Albinus
2014-04-21 8:40 ` Eli Zaretskii
2014-04-21 16:25 ` Michael Albinus
2014-04-24 8:27 ` 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=87zjjfp0in.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=dancol@dancol.org \
--cc=emacs-devel@gnu.org \
/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).