Fix dired-test-bug22694

* test/lisp/dired-tests.el (dired-test-bug22694): Delete the
"bug22694" directory, if it exists, before running the test.  It
might be left over from a previous aborted run of the test.
This commit is contained in:
Ken Brown 2016-07-27 12:28:14 -04:00
parent 74f9c1a8cd
commit 773778e1c0

View file

@ -38,6 +38,8 @@
(full-name (expand-file-name file dir))
(regexp "bar")
(dired-always-read-filesystem t))
(if (file-exists-p dir)
(delete-directory dir 'recursive))
(make-directory dir)
(with-temp-file full-name (insert "foo"))
(find-file-noselect full-name)