diff options
| author | Glenn Morris | 2013-07-23 15:54:01 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-07-23 15:54:01 -0400 |
| commit | 97afc49a1a5e6482431ab7c6301561936fdcb4b5 (patch) | |
| tree | b0908d78432426e0878cba20ba01e55261d0102a /test | |
| parent | 66878244eb2114bbc8033ed5cc5cca747c6b7769 (diff) | |
| download | emacs-97afc49a1a5e6482431ab7c6301561936fdcb4b5.tar.gz emacs-97afc49a1a5e6482431ab7c6301561936fdcb4b5.zip | |
* inotify-test.el (inotify-file-watch-simple): Delete temp-file when done.
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 3 | ||||
| -rw-r--r-- | test/automated/inotify-test.el | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index e4890aeac14..0626d92b207 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2013-07-23 Glenn Morris <rgm@gnu.org> | 1 | 2013-07-23 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * automated/inotify-test.el (inotify-file-watch-simple): | ||
| 4 | Delete temp-file when done. | ||
| 5 | |||
| 3 | * automated/subword-tests.el: Require subword. | 6 | * automated/subword-tests.el: Require subword. |
| 4 | 7 | ||
| 5 | 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca> |
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 @@ | |||
| 56 | (insert "Foo\n")) | 56 | (insert "Foo\n")) |
| 57 | (sit-for 5) ;; Hacky. Wait for 5s until events are processed | 57 | (sit-for 5) ;; Hacky. Wait for 5s until events are processed |
| 58 | (should (> events 0))) | 58 | (should (> events 0))) |
| 59 | (inotify-rm-watch wd))))) | 59 | (inotify-rm-watch wd) |
| 60 | (delete-file temp-file))))) | ||
| 60 | ) | 61 | ) |
| 61 | 62 | ||
| 62 | (provide 'inotify-tests) | 63 | (provide 'inotify-tests) |
| 64 | |||
| 63 | ;;; inotify-tests.el ends here. | 65 | ;;; inotify-tests.el ends here. |