* test/lisp/net/tramp-tests.el (tramp-test21-file-links): More cleanup.

This commit is contained in:
Glenn Morris 2019-08-31 10:30:14 -07:00
parent 172b99a43a
commit 2de46be662

View file

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