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:
parent
74f9c1a8cd
commit
773778e1c0
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue