From: Glenn Morris Date: Sat, 31 Aug 2019 17:30:14 +0000 (-0700) Subject: * test/lisp/net/tramp-tests.el (tramp-test21-file-links): More cleanup. X-Git-Tag: emacs-27.0.90~1328^2~29 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2de46be6620174e6e2cf4ed397e7cf901d1f1a7a;p=emacs.git * test/lisp/net/tramp-tests.el (tramp-test21-file-links): More cleanup. --- 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