From a2792ad54c310fdfabc8a9a8cf5bdf6c98a8ed20 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 12 May 2020 09:34:46 -0700 Subject: [PATCH] Suppress test failure on hydra.nixos.org * test/lisp/net/tramp-tests.el (tramp-test28-process-file): Attempt to suppress hydra oddity. --- test/lisp/net/tramp-tests.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2