emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 81535cd: Delete .tar.gz temp file after tramp test


From: Lars Ingebrigtsen
Subject: master 81535cd: Delete .tar.gz temp file after tramp test
Date: Fri, 12 Nov 2021 02:57:01 -0500 (EST)

branch: master
commit 81535cd8783d956cedd9a59263e77d2062c70197
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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).
---
 test/lisp/net/tramp-tests.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 3d6ce96..ffeb542 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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]