From 2de46be6620174e6e2cf4ed397e7cf901d1f1a7a Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 31 Aug 2019 10:30:14 -0700 Subject: [PATCH] * test/lisp/net/tramp-tests.el (tramp-test21-file-links): More cleanup. --- test/lisp/net/tramp-tests.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 0d37d0763f7..dd6b9edd000 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -3479,7 +3479,9 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." (setq tmp-name3 (concat (file-remote-p tmp-name3) tmp-name2))))) ;; Cleanup. - (ignore-errors (delete-directory tmp-name1 'recursive))) + (ignore-errors + (delete-file tmp-name3) + (delete-directory tmp-name1 'recursive))) ;; Detect cyclic symbolic links. (unwind-protect -- 2.39.2