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).
This commit is contained in:
Lars Ingebrigtsen 2021-11-12 08:56:51 +01:00
parent 0b7293a788
commit 81535cd878

View file

@ -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 ()