[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 r117019: * automated/tramp-tests.el (top):
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] emacs-24 r117019: * automated/tramp-tests.el (top): |
Date: |
Fri, 25 Apr 2014 10:35:10 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117019
revision-id: address@hidden
parent: address@hidden
committer: Michael Albinus <address@hidden>
branch nick: emacs-24
timestamp: Fri 2014-04-25 12:35:01 +0200
message:
* automated/tramp-tests.el (top):
* automated/file-notify-tests.el (top): Do not disable interactive
passwords in batch mode.
(password-cache-expiry): Set to nil.
modified:
test/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-8588
test/automated/file-notify-tests.el
filenotifytests.el-20130702144123-sxglvo6zs3jcj8w1-1
test/automated/tramp-tests.el tramptests.el-20131105142319-d9zp3oprkpxj5v1e-1
=== modified file 'test/ChangeLog'
--- a/test/ChangeLog 2014-04-24 08:21:58 +0000
+++ b/test/ChangeLog 2014-04-25 10:35:01 +0000
@@ -1,3 +1,10 @@
+2014-04-25 Michael Albinus <address@hidden>
+
+ * automated/tramp-tests.el (top):
+ * automated/file-notify-tests.el (top): Do not disable interactive
+ passwords in batch mode.
+ (password-cache-expiry): Set to nil.
+
2014-04-24 Michael Albinus <address@hidden>
* automated/file-notify-tests.el
=== modified file 'test/automated/file-notify-tests.el'
--- a/test/automated/file-notify-tests.el 2014-04-24 08:21:58 +0000
+++ b/test/automated/file-notify-tests.el 2014-04-25 10:35:01 +0000
@@ -22,7 +22,7 @@
;; Some of the tests require access to a remote host files. Since
;; this could be problematic, a mock-up connection method "mock" is
;; used. Emulating a remote connection, it simply calls "sh -i".
-;; Tramp's file name handler still run, so this test is sufficient
+;; Tramp's file name handlers still run, so this test is sufficient
;; except for connection establishing.
;; If you want to test a real Tramp connection, set
@@ -31,10 +31,6 @@
;; remote host, set this environment variable to "/dev/null" or
;; whatever is appropriate on your system.
-;; When running the tests in batch mode, it must NOT require an
-;; interactive password prompt unless the environment variable
-;; $REMOTE_ALLOW_PASSWORD is set.
-
;; A whole test run can be performed calling the command
`file-notify-test-all'.
;;; Code:
@@ -64,13 +60,10 @@
(defvar file-notify--test-results nil)
(defvar file-notify--test-event nil)
-(setq tramp-verbose 0
+(setq password-cache-expiry nil
+ tramp-verbose 0
tramp-message-show-message nil)
-;; Disable interactive passwords in batch mode.
-(when (and noninteractive (not (getenv "REMOTE_ALLOW_PASSWORD")))
- (defalias 'tramp-read-passwd 'ignore))
-
;; This shall happen on hydra only.
(when (getenv "NIX_STORE")
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
=== modified file 'test/automated/tramp-tests.el'
--- a/test/automated/tramp-tests.el 2014-04-24 08:21:58 +0000
+++ b/test/automated/tramp-tests.el 2014-04-25 10:35:01 +0000
@@ -24,7 +24,7 @@
;; Some of the tests require access to a remote host files. Since
;; this could be problematic, a mock-up connection method "mock" is
;; used. Emulating a remote connection, it simply calls "sh -i".
-;; Tramp's file name handler still run, so this test is sufficient
+;; Tramp's file name handlers still run, so this test is sufficient
;; except for connection establishing.
;; If you want to test a real Tramp connection, set
@@ -33,10 +33,6 @@
;; remote host, set this environment variable to "/dev/null" or
;; whatever is appropriate on your system.
-;; When running the tests in batch mode, it must NOT require an
-;; interactive password prompt unless the environment variable
-;; $REMOTE_ALLOW_PASSWORD is set.
-
;; A whole test run can be performed calling the command `tramp-test-all'.
;;; Code:
@@ -73,10 +69,6 @@
tramp-copy-size-limit nil
tramp-message-show-message nil)
-;; Disable interactive passwords in batch mode.
-(when (and noninteractive (not (getenv "REMOTE_ALLOW_PASSWORD")))
- (defalias 'tramp-read-passwd 'ignore))
-
;; This shall happen on hydra only.
(when (getenv "NIX_STORE")
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 r117019: * automated/tramp-tests.el (top):,
Michael Albinus <=