From mboxrd@z Thu Jan 1 00:00:00 1970 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=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 30A87C433EF for ; Fri, 24 Sep 2021 09:53:22 +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 623A3610CF for ; Fri, 24 Sep 2021 09:53:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 623A3610CF 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 87AC83C8F4C for ; Fri, 24 Sep 2021 11:53:19 +0200 (CEST) Received: from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [217.194.8.5]) (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 4CEFC3C8610 for ; Fri, 24 Sep 2021 11:53:10 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (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-5.smtp.seeweb.it (Postfix) with ESMTPS id C37376013E2 for ; Fri, 24 Sep 2021 11:53:09 +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-out1.suse.de (Postfix) with ESMTPS id 2B24522379; Fri, 24 Sep 2021 09:53:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1632477189; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sKJNCKqe2a8SQSHPsJUsXII0oPvoFFb/D9WAjQHfSCg=; b=wCPtZpn8w8cJGMmUaPMKipb1t07G/TtLjcBua59oRB2uJXxE4Ygn7KsOnPgiKOGw/m6e8a NbVAbW6u6EnHpGov2jlwddYe560vIaJgR/dmnjcx7nlcuEnzUdg4cpW0pmsd5le7Jm09T+ tq49s/uFGX9YN09s5tXA2kCAuY77J8o= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1632477189; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sKJNCKqe2a8SQSHPsJUsXII0oPvoFFb/D9WAjQHfSCg=; b=nljhOxKNAKQJDn+irt01TJsMKBthlMV9RmO15YRK0cqLObpqK4ei+vxGTkf1axXX1wfygu M3NCn7/91hjUXpBQ== 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 BD28C139F0; Fri, 24 Sep 2021 09:53:08 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id xecIKgSgTWE0PQAAMHmgww (envelope-from ); Fri, 24 Sep 2021 09:53:08 +0000 Date: Fri, 24 Sep 2021 11:53:06 +0200 From: Petr Vorel To: Bogdan Lezhepekov Message-ID: References: <20210914170851.22931-1-bogdan.lezhepekov@suse.com> <20210914170851.22931-5-bogdan.lezhepekov@suse.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210914170851.22931-5-bogdan.lezhepekov@suse.com> X-Virus-Scanned: clamav-milter 0.102.4 at in-5.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] [PATCH v1 5/6] rt:pi-tests:testpi-5: return exit code 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: , Reply-To: Petr Vorel Cc: ltp@lists.linux.it Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Hi Bogdan, > +++ b/testcases/realtime/func/pi-tests/testpi-5.c ... > create_other_thread(child_thread, NULL); > join_threads(); > - return 0; > + return err > 0 ? 1: 0; nit: "1: 0" => "1 : 0" (for better readability). Whole patchset LGTM, thanks for improving realtime tests. To whole patchset: Reviewed-by: Petr Vorel Kind regards, Petr -- Mailing list info: https://lists.linux.it/listinfo/ltp