* test/lisp/filenotify-tests.el, test/lisp/shadowfile-tests.el:
* test/lisp/net/tramp-tests.el: Require tramp-sh before changing
tramp-remote-path.
;; 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'.
;; 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
;; 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