]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix problem in filenotify-tests
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 30 Jan 2019 14:30:04 +0000 (15:30 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 30 Jan 2019 14:30:04 +0000 (15:30 +0100)
* lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
Adapt `accept-process-output' argument.

* test/lisp/filenotify-tests.el (file-notify--deftest-remote):
Remove :unstable tag.

lisp/net/tramp-sh.el
test/lisp/filenotify-tests.el

index 5ed75132753b570891796522b39cddd57e0b1ac0..404fae9197e653b34efc72478483aabd3a7edc2d 100644 (file)
@@ -3647,7 +3647,7 @@ Fall back to normal file name handler if no Tramp handler exists."
        (set-process-filter p filter)
        ;; There might be an error if the monitor is not supported.
        ;; Give the filter a chance to read the output.
-       (while (tramp-accept-process-output p))
+       (while (tramp-accept-process-output p 0))
        (unless (process-live-p p)
          (tramp-error
           p 'file-notify-error "Monitoring not supported for `%s'" file-name))
index ef1271dac428bcf0e833fc28df8bf00006ecb25e..50036209b0fbf53593b9ec7d0e9650066aec4ca1 100644 (file)
@@ -266,7 +266,7 @@ This returns only for the local case and gfilenotify; otherwise it is nil.
   (declare (indent 1))
   `(ert-deftest ,(intern (concat (symbol-name test) "-remote")) ()
      ,docstring
-     :tags '(:expensive-test :unstable)
+     :tags '(:expensive-test)
      :expected-result (or ,expected :passed)
      (skip-unless (not ,skip))
      (let* ((temporary-file-directory