Commit bc2c0769 authored by Glenn Morris's avatar Glenn Morris
Browse files

* test/automated/eshell.el (eshell-test-command-result): Clean up when done

parent 6ad9cb08
......@@ -60,7 +60,9 @@
"Like `eshell-command-result', but not using HOME."
(let ((eshell-directory-name (make-temp-file "eshell" t))
(eshell-history-file-name nil))
(eshell-command-result command)))
(unwind-protect
(eshell-command-result command)
(delete-directory eshell-directory-name t))))
;;; Tests:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment