[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master a2792ad: Suppress test failure on hydra.nixos.org
From: |
Glenn Morris |
Subject: |
master a2792ad: Suppress test failure on hydra.nixos.org |
Date: |
Tue, 12 May 2020 12:34:59 -0400 (EDT) |
branch: master
commit a2792ad54c310fdfabc8a9a8cf5bdf6c98a8ed20
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
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 4cacfa2..8c3cb8e 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master a2792ad: Suppress test failure on hydra.nixos.org,
Glenn Morris <=