(require 'ert)
(require 'ert-x)
(require 'em-extpipe)
-(eval-and-compile
- (load (expand-file-name "eshell-tests-helpers"
- (file-name-directory (or load-file-name
- default-directory)))))
-
-(defvar eshell-history-file-name)
-(defvar eshell-test--max-subprocess-time)
-(declare-function eshell-command-result-p "eshell-tests-helpers")
+(require 'eshell-tests-helpers
+ (expand-file-name "eshell-tests-helpers"
+ (file-name-directory (or load-file-name
+ default-directory))))
(defmacro em-extpipe-tests--deftest (name input &rest body)
(declare (indent 2))
(require 'esh-mode)
(require 'eshell)
+(defvar eshell-history-file-name nil)
+
(defvar eshell-test--max-subprocess-time 5
"The maximum amount of time to wait for a subprocess to finish, in seconds.
See `eshell-wait-for-subprocess'.")
(require 'ert-x)
(require 'esh-mode)
(require 'eshell)
-(eval-and-compile
- (load (expand-file-name "eshell-tests-helpers"
- (file-name-directory (or load-file-name
- default-directory)))))
-
-(defvar eshell-history-file-name)
-(defvar eshell-test--max-subprocess-time)
-(declare-function eshell-insert-command "eshell-tests-helpers")
-(declare-function eshell-match-result "eshell-tests-helpers")
-(declare-function eshell-command-result-p "eshell-tests-helpers")
+(require 'eshell-tests-helpers
+ (expand-file-name "eshell-tests-helpers"
+ (file-name-directory (or load-file-name
+ default-directory))))
;;; Tests: