From: Juanma Barranquero Date: Thu, 5 Nov 2015 18:40:42 +0000 (+0100) Subject: * test/automated/process-tests.el: Skip tests when bash is not available X-Git-Tag: emacs-25.0.90~916 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0880d5f6e1ad5006a022416cd21b974c7f5923b9;p=emacs.git * test/automated/process-tests.el: Skip tests when bash is not available (process-test-sentinel-accept-process-output) (process-test-sentinel-sit-for): skip-unless bash executable found. --- diff --git a/test/automated/process-tests.el b/test/automated/process-tests.el index 4a43a013fb4..ee9e4f35891 100644 --- a/test/automated/process-tests.el +++ b/test/automated/process-tests.el @@ -43,10 +43,12 @@ 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)))))