summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/lisp/filenotify-tests.el1
-rw-r--r--test/lisp/net/tramp-tests.el1
-rw-r--r--test/lisp/shadowfile-tests.el1
3 files changed, 3 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'.
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 57b67a0bfe4..c566f81610b 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -107,6 +107,7 @@
;; This should happen on hydra only.
(when (getenv "EMACS_HYDRA_CI")
+ (require 'tramp-sh)
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
(defvar tramp--test-enabled-checked nil
diff --git a/test/lisp/shadowfile-tests.el b/test/lisp/shadowfile-tests.el
index 3bab22f8d66..1527d2b2abf 100644
--- a/test/lisp/shadowfile-tests.el
+++ b/test/lisp/shadowfile-tests.el
@@ -69,6 +69,7 @@
;; This should happen on hydra only.
(when (getenv "EMACS_HYDRA_CI")
+ (require 'tramp-sh)
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
(defconst shadow-test-info-file