summaryrefslogtreecommitdiff
path: root/test/lisp/filenotify-tests.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-12-17 13:52:46 -0500
committerGlenn Morris <rgm@gnu.org>2018-12-17 13:52:46 -0500
commit2c3f7f9c45985c36fd9e86c334b49b10e8c8c270 (patch)
tree0d116c71d0ea30041532663fa30f34655d6bb0ef /test/lisp/filenotify-tests.el
parent3621593616c1c4ae880c72e8d3de8fac8fc9c581 (diff)
downloademacs-2c3f7f9c45985c36fd9e86c334b49b10e8c8c270.tar.gz
emacs-2c3f7f9c45985c36fd9e86c334b49b10e8c8c270.tar.bz2
emacs-2c3f7f9c45985c36fd9e86c334b49b10e8c8c270.zip
Avoid tests failures on hydra due to Tramp autoload changes
* test/lisp/filenotify-tests.el, test/lisp/shadowfile-tests.el: * test/lisp/net/tramp-tests.el: Require tramp-sh before changing tramp-remote-path.
Diffstat (limited to 'test/lisp/filenotify-tests.el')
-rw-r--r--test/lisp/filenotify-tests.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el
index 26b8276b8ec..376b20988af 100644
--- a/test/lisp/filenotify-tests.el
+++ b/test/lisp/filenotify-tests.el
@@ -180,6 +180,7 @@ Return nil when any other file notification watch is still active."
;; This should happen on hydra only.
(when (getenv "EMACS_HYDRA_CI")
+ (require 'tramp-sh)
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
;; We do not want to try and fail `file-notify-add-watch'.