[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master a2792ad: Suppress test failure on hydra.nixos.org
From: |
Michael Albinus |
Subject: |
Re: master a2792ad: Suppress test failure on hydra.nixos.org |
Date: |
Tue, 12 May 2020 19:43:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
address@hidden (Glenn Morris) writes:
Hi Glenn,
> --- 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
Thanks. But do you have an idea why this is needed on hydra?
Best regards, Michael.
- Re: master a2792ad: Suppress test failure on hydra.nixos.org,
Michael Albinus <=