From: Martin Doucha Date: Fri, 13 Dec 2019 16:41:47 +0100 Subject: [LTP] [PATCH 2/3] Port test_1_to_1_initmsg_connect (SCTP) to new API In-Reply-To: <20191213153933.GB8241@dell5510> References: <20191126120241.5460-1-mdoucha@suse.cz> <20191126120241.5460-3-mdoucha@suse.cz> <20191213153933.GB8241@dell5510> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it On 12/13/19 4:39 PM, Petr Vorel wrote: >> +++ b/utils/sctp/func_tests/test_1_to_1_initmsg_connect.c > ... >> - tst_resm(TPASS, "connect() with init timeout set to 0 - SUCCESS"); >> + if (TST_RET != msglen) { >> + tst_res(TFAIL | TTERRNO, "recv() failed"); >> + } else { >> + tst_res(TPASS, "connect() with init timeout set to 0 - SUCCESS"); > If you don't mind, I'd remove " - SUCCESS" from the message before merge. Please do. -- Martin Doucha mdoucha@suse.cz QA Engineer for Software Maintenance SUSE LINUX, s.r.o. CORSO IIa Krizikova 148/34 186 00 Prague 8 Czech Republic