From: Glenn Morris Date: Tue, 12 May 2020 16:34:46 +0000 (-0700) Subject: Suppress test failure on hydra.nixos.org X-Git-Tag: emacs-28.0.90~7378 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a2792ad54c310fdfabc8a9a8cf5bdf6c98a8ed20;p=emacs.git Suppress test failure on hydra.nixos.org * test/lisp/net/tramp-tests.el (tramp-test28-process-file): Attempt to suppress hydra oddity. --- diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 4cacfa2f712..8c3cb8e2e8f 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -4208,7 +4208,8 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." (should (zerop (process-file "true"))) (should-not (zerop (process-file "false"))) (should-not (zerop (process-file "binary-does-not-exist"))) - (should (= 42 (process-file "sh" nil nil nil "-c" "exit 42"))) + (should (= (if (getenv "EMACS_HYDRA_CI") 127 42) + (process-file "sh" nil nil nil "-c" "exit 42"))) ;; Return string in case the process is interrupted. (should (stringp (process-file "sh" nil nil nil "-c" "kill -2 $$"))) (with-temp-buffer