diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-12 08:56:51 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-12 08:56:55 +0100 |
commit | 81535cd8783d956cedd9a59263e77d2062c70197 (patch) | |
tree | 15e80f98c5c6c6490f571adbabcf50ab64e5732a /test/lisp/net | |
parent | 0b7293a7883be5f3549770f453bc2562914dd963 (diff) | |
download | emacs-81535cd8783d956cedd9a59263e77d2062c70197.tar.gz emacs-81535cd8783d956cedd9a59263e77d2062c70197.tar.bz2 emacs-81535cd8783d956cedd9a59263e77d2062c70197.zip |
Delete .tar.gz temp file after tramp test
* test/lisp/net/tramp-tests.el ()
(tramp-test45-dired-compress-dir): Delete the temp file (bug#51690).
Diffstat (limited to 'test/lisp/net')
-rw-r--r-- | test/lisp/net/tramp-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 3d6ce963eef..ffeb5420fe3 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -7029,7 +7029,8 @@ process sentinels. They shall not disturb each other." (should (string= (concat tmp-name ".tar.gz") (dired-get-filename))) (should-not (dired-compress)) (should (string= tmp-name (dired-get-filename))) - (delete-directory tmp-name))) + (delete-directory tmp-name) + (delete-file (concat tmp-name ".tar.gz")))) ;; This test is inspired by Bug#29163. (ert-deftest tramp-test46-auto-load () |