[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: |
Wed, 13 May 2020 14:13:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Michael Albinus <address@hidden> 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.