* test/automated/eshell.el (eshell-test-command-result): Clean up when done
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user