]> git.eshelyaron.com Git - emacs.git/commitdiff
* automated/file-notify-tests.el (file-notify-test02-events):
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 26 Jan 2014 16:20:13 +0000 (17:20 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 26 Jan 2014 16:20:13 +0000 (17:20 +0100)
Let test case fail for Bug#16519.

test/ChangeLog
test/automated/file-notify-tests.el

index 4b931acbf2273a0c85f52497ec7247dcc5add2b9..d09d9e524a36d53e45607f06f83b653e0e30c089 100644 (file)
@@ -1,3 +1,8 @@
+2014-01-26  Michael Albinus  <michael.albinus@gmx.de>
+
+       * automated/file-notify-tests.el (file-notify-test02-events):
+       Let test case fail for Bug#16519.
+
 2014-01-22  Michael Albinus  <michael.albinus@gmx.de>
 
        * automated/file-notify-tests.el (file-notify-test02-events):
index de0f32b5e94a3d7cb30418d2cf3575c4044b95d1..073fb4c65222b1261e91b38ead3d8c00e965c618 100644 (file)
@@ -199,6 +199,10 @@ TIMEOUT is the maximum time to wait for."
 
 (ert-deftest file-notify-test02-events ()
   "Check file creation/removal notifications."
+  ;; Bug#16519.
+  :expected-result
+  (if (and noninteractive (memq file-notify--library '(gfilenotify w32notify)))
+      :failed :passed)
   (skip-unless (file-notify--test-local-enabled))
   (let (desc)
     (unwind-protect
@@ -237,9 +241,7 @@ TIMEOUT is the maximum time to wait for."
       (ignore-errors (delete-file file-notify--test-tmpfile))
       (ignore-errors (delete-file file-notify--test-tmpfile1))))
 
-  (should
-   (or file-notify--test-results
-       (and noninteractive (eq file-notify--library 'gfilenotify)))) ;; Bug#16519.
+  (should file-notify--test-results)
   (dolist (result file-notify--test-results)
     ;(message "%s" (ert-test-result-messages result))
     (when (ert-test-failed-p result)