]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/automated/process-tests.el: Skip tests when bash is not available
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 5 Nov 2015 18:40:42 +0000 (19:40 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 5 Nov 2015 18:42:47 +0000 (19:42 +0100)
(process-test-sentinel-accept-process-output)
(process-test-sentinel-sit-for): skip-unless bash executable found.

test/automated/process-tests.el

index 4a43a013fb44de2dec2b08d7b1627be6f8af505f..ee9e4f3589199c11997bd378e6a15d619848fe68 100644 (file)
     sentinel-called))
 
 (ert-deftest process-test-sentinel-accept-process-output ()
+  (skip-unless (executable-find "bash"))
   (should (process-test-sentinel-wait-function-working-p
            #'accept-process-output)))
 
 (ert-deftest process-test-sentinel-sit-for ()
+  (skip-unless (executable-find "bash"))
   (should
    (process-test-sentinel-wait-function-working-p (lambda () (sit-for 0.01 t)))))