unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master a2792ad: Suppress test failure on hydra.nixos.org
       [not found] ` <20200512163500.1B4CB20A29@vcs0.savannah.gnu.org>
@ 2020-05-12 17:43   ` Michael Albinus
  2020-05-13 12:13     ` Michael Albinus
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Albinus @ 2020-05-12 17:43 UTC (permalink / raw)
  To: emacs-devel; +Cc: Glenn Morris

rgm@gnu.org (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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: master a2792ad: Suppress test failure on hydra.nixos.org
  2020-05-12 17:43   ` master a2792ad: Suppress test failure on hydra.nixos.org Michael Albinus
@ 2020-05-13 12:13     ` Michael Albinus
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Albinus @ 2020-05-13 12:13 UTC (permalink / raw)
  To: emacs-devel; +Cc: Glenn Morris

Michael Albinus <michael.albinus@gmx.de> 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?

Likely, "sh" wasn't found in $PATH on hydra. I've fixed this in master.

Best regards, Michael.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-13 12:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200512163458.26709.35300@vcs0.savannah.gnu.org>
     [not found] ` <20200512163500.1B4CB20A29@vcs0.savannah.gnu.org>
2020-05-12 17:43   ` master a2792ad: Suppress test failure on hydra.nixos.org Michael Albinus
2020-05-13 12:13     ` Michael Albinus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).