From d653cdc78277b9cc89b228bd56a71c662749200c Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Fri, 18 Mar 2022 23:01:29 +0100 Subject: [PATCH] GH tests failed due to /usr/bin/true... probably /bin/echo will behave better --- msg_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msg_test.go b/msg_test.go index 9704bbb..5005f45 100644 --- a/msg_test.go +++ b/msg_test.go @@ -1149,7 +1149,7 @@ func TestMsg_WriteToSendmailWithCommand(t *testing.T) { {"Sendmail path: /dev/null", "/dev/null", true}, {"Sendmail path: /bin/cat", "/bin/cat", true}, {"Sendmail path: /is/invalid", "/is/invalid", true}, - {"Sendmail path: /usr/bin/true", "/usr/bin/true", false}, + {"Sendmail path: /bin/echo", "/bin/echo", false}, } m := NewMsg() for _, tt := range tests {