* test/automated/eshell.el (eshell-test-command-result): Clean up when done
This commit is contained in:
parent
6ad9cb087a
commit
bc2c0769db
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue