From 97afc49a1a5e6482431ab7c6301561936fdcb4b5 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 23 Jul 2013 15:54:01 -0400 Subject: [PATCH] * inotify-test.el (inotify-file-watch-simple): Delete temp-file when done. --- test/ChangeLog | 3 +++ test/automated/inotify-test.el | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/test/ChangeLog b/test/ChangeLog index e4890aeac14..0626d92b207 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,5 +1,8 @@ 2013-07-23 Glenn Morris + * automated/inotify-test.el (inotify-file-watch-simple): + Delete temp-file when done. + * automated/subword-tests.el: Require subword. 2013-07-22 Stefan Monnier diff --git a/test/automated/inotify-test.el b/test/automated/inotify-test.el index b4d20cf4fb1..97d78dcb58e 100644 --- a/test/automated/inotify-test.el +++ b/test/automated/inotify-test.el @@ -56,8 +56,10 @@ (insert "Foo\n")) (sit-for 5) ;; Hacky. Wait for 5s until events are processed (should (> events 0))) - (inotify-rm-watch wd))))) + (inotify-rm-watch wd) + (delete-file temp-file))))) ) (provide 'inotify-tests) + ;;; inotify-tests.el ends here. -- 2.11.4.GIT