Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4739AC433F5 for ; Tue, 21 Sep 2021 11:33:32 +0000 (UTC) Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5C05661166 for ; Tue, 21 Sep 2021 11:33:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5C05661166 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.linux.it Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 2BC7D3CA2B9 for ; Tue, 21 Sep 2021 13:33:28 +0200 (CEST) Received: from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it [217.194.8.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 415CC3C1C6E for ; Tue, 21 Sep 2021 13:33:19 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-4.smtp.seeweb.it (Postfix) with ESMTPS id CA0B71000B29 for ; Tue, 21 Sep 2021 13:33:18 +0200 (CEST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id F26F82006E for ; Tue, 21 Sep 2021 11:33:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1632223997; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=jZ/F0XqIh7hZS58J01b9S/1NKMssBx1fDhNAPqYayGI=; b=Tkm4TKB+2zHfIK+UpWY6cRU60h2rmaHTb1mFJq9ghTFnAGZjKX9A2dw+NRxhClj91eJ7eU FQut/7oMgUx0MHxjFfDHxNMSg6FrVabALFsPRtELhg5Azt0V09suB+5z8arHQCg4ofx8F1 IpZQ4/gS/f/WGviAPBrtDiPczBmTXR4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1632223997; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=jZ/F0XqIh7hZS58J01b9S/1NKMssBx1fDhNAPqYayGI=; b=F5+ZbekUlEobg/WdfItLU0z1YD2Y4dO++uPcKoEy6gV3uZT4q4WEeMfcUHIHdnGVf/kHjM lNhNAurDam6v3yCQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D4D1B13BC2 for ; Tue, 21 Sep 2021 11:33:17 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id mHbbMv3CSWFYAQAAMHmgww (envelope-from ) for ; Tue, 21 Sep 2021 11:33:17 +0000 From: Martin Doucha To: ltp@lists.linux.it Date: Tue, 21 Sep 2021 13:33:16 +0200 Message-Id: <20210921113317.16756-1-mdoucha@suse.cz> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-4.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH 1/2] Add missig parentheses to TST_EXP_FAIL() errno check X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Signed-off-by: Martin Doucha --- include/tst_test_macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tst_test_macros.h b/include/tst_test_macros.h index 91671d1b8..4a023b700 100644 --- a/include/tst_test_macros.h +++ b/include/tst_test_macros.h @@ -176,7 +176,7 @@ extern void *TST_RET_PTR; break; \ } \ \ - if (TST_ERR == ERRNO) { \ + if (TST_ERR == (ERRNO)) { \ TST_MSG_(TPASS | TTERRNO, " ", \ SSCALL, ##__VA_ARGS__); \ TST_PASS = 1; \ -- 2.33.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp