Commit 773778e1 authored by Ken Brown's avatar Ken Brown
Browse files

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.
parent 74f9c1a8
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment