diff options
| author | Glenn Morris | 2013-09-13 09:16:57 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-09-13 09:16:57 -0700 |
| commit | bc2c0769db73f5acd7545b4c3f74cae29e4e4315 (patch) | |
| tree | f5f3c2a4b1565b9f2dfcbfda299f737d8c3db3eb | |
| parent | 6ad9cb087a85c5bb0d7010db98dab006f23c4f1d (diff) | |
| download | emacs-bc2c0769db73f5acd7545b4c3f74cae29e4e4315.tar.gz emacs-bc2c0769db73f5acd7545b4c3f74cae29e4e4315.zip | |
* test/automated/eshell.el (eshell-test-command-result): Clean up when done
| -rw-r--r-- | test/automated/eshell.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/automated/eshell.el b/test/automated/eshell.el index d5ebc567281..f9061ceb57c 100644 --- a/test/automated/eshell.el +++ b/test/automated/eshell.el | |||
| @@ -60,7 +60,9 @@ | |||
| 60 | "Like `eshell-command-result', but not using HOME." | 60 | "Like `eshell-command-result', but not using HOME." |
| 61 | (let ((eshell-directory-name (make-temp-file "eshell" t)) | 61 | (let ((eshell-directory-name (make-temp-file "eshell" t)) |
| 62 | (eshell-history-file-name nil)) | 62 | (eshell-history-file-name nil)) |
| 63 | (eshell-command-result command))) | 63 | (unwind-protect |
| 64 | (eshell-command-result command) | ||
| 65 | (delete-directory eshell-directory-name t)))) | ||
| 64 | 66 | ||
| 65 | ;;; Tests: | 67 | ;;; Tests: |
| 66 | 68 | ||