From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Tramp test suite and network access Date: Mon, 21 Apr 2014 10:09:04 +0200 Message-ID: <87zjjfp0in.fsf@gmx.de> References: <53546D0B.3090406@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1398067780 20850 80.91.229.3 (21 Apr 2014 08:09:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Apr 2014 08:09:40 +0000 (UTC) Cc: Emacs developers To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 21 10:09:32 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wc9IB-0008JH-C9 for ged-emacs-devel@m.gmane.org; Mon, 21 Apr 2014 10:09:31 +0200 Original-Received: from localhost ([::1]:47947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wc9IA-000329-RP for ged-emacs-devel@m.gmane.org; Mon, 21 Apr 2014 04:09:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wc9I2-00031t-9z for emacs-devel@gnu.org; Mon, 21 Apr 2014 04:09:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wc9Hv-0004L2-S0 for emacs-devel@gnu.org; Mon, 21 Apr 2014 04:09:22 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:53031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wc9Hv-0004Kw-IA for emacs-devel@gnu.org; Mon, 21 Apr 2014 04:09:15 -0400 Original-Received: from detlef.gmx.de ([87.146.56.125]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M6O1v-1Ws9qE3WQd-00ySr1; Mon, 21 Apr 2014 10:09:06 +0200 In-Reply-To: <53546D0B.3090406@dancol.org> (Daniel Colascione's message of "Sun, 20 Apr 2014 17:57:47 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:fDZaBEcr9zzXht0K2FKDQLRulC3OlRd8l5NHdFf5uwiKtLo22mc R5dOYGcuN4PtyIwg2rF423lBIhMIrZS6NfG5Uaj6Ohi8yIFaEaj7fqsAAxNfLK+81Ozo2ZG NxyjRj1m08/CQsn7DVoT/PjINrdYZkyf+ASN65pBBjvtwPX3z/OtA06ZYtryr9DBTOZzUdb sn4Vo4eQ7hnT5bVX70W2Q== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.19 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171521 Archived-At: Daniel Colascione 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.