aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/eshell/eshell-tests.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lisp/eshell/eshell-tests.el b/test/lisp/eshell/eshell-tests.el
index c4cb9bf4850..1a7ab0ab06f 100644
--- a/test/lisp/eshell/eshell-tests.el
+++ b/test/lisp/eshell/eshell-tests.el
@@ -167,6 +167,13 @@ e.g. \"{(+ 1 2)} 3\" => 3"
167 (eshell-command-result-p "echo ${*echo hi}" 167 (eshell-command-result-p "echo ${*echo hi}"
168 "hi\n"))) 168 "hi\n")))
169 169
170(ert-deftest eshell-test/interp-cmd-external-concat ()
171 "Interpolate command result from external command with concatenation"
172 (skip-unless (executable-find "echo"))
173 (with-temp-eshell
174 (eshell-command-result-p "echo ${echo hi}-${*echo there}"
175 "hi-there\n")))
176
170(ert-deftest eshell-test/window-height () 177(ert-deftest eshell-test/window-height ()
171 "$LINES should equal (window-height)" 178 "$LINES should equal (window-height)"
172 (should (eshell-test-command-result "= $LINES (window-height)"))) 179 (should (eshell-test-command-result "= $LINES (window-height)")))