From: Tino Calancha Date: Tue, 20 Dec 2016 10:22:15 +0000 (+0900) Subject: files-test-read-file-in-: Delete temporary dir on exit X-Git-Tag: emacs-26.0.90~1044 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=15817f4e3ae027e6ed573a1814bd4cf1d59e4d64;p=emacs.git files-test-read-file-in-: Delete temporary dir on exit * test/lisp/files-tests.el (files-test-read-file-in-~): Create subdir inside dir. --- diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el index f4ccd5c2044..6fbe993bfdd 100644 --- a/test/lisp/files-tests.el +++ b/test/lisp/files-tests.el @@ -229,7 +229,7 @@ be $HOME." (or def init))) (dir (make-temp-file "read-file-name-test" t))) (unwind-protect - (let ((subdir (expand-file-name "./~/"))) + (let ((subdir (expand-file-name "./~/" dir))) (make-directory subdir t) (with-temp-buffer (setq default-directory subdir)