Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5078070rwd; Sun, 11 Jun 2023 22:41:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ66jLw1nEEmiKGcMwqLHqbat+Ywvbw7QOJwIE7O4BBrm17VFL4OPvXwnqB6xegZv8ImtwWo X-Received: by 2002:a17:907:7e9a:b0:94f:3521:394 with SMTP id qb26-20020a1709077e9a00b0094f35210394mr8610100ejc.51.1686548460131; Sun, 11 Jun 2023 22:41:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686548460; cv=none; d=google.com; s=arc-20160816; b=lpLyx2Rk1wiPPlL7s+eNs/nQfltCx4cWKpyPxji3X0lKDlkVOWFZpQXa1j0zTBmiIk DFNNB3pH0lkhtiMkxvDQkh47XKzDLUiiEcHwK/+3QbyrlLV0nz684q0i5Se9tpDjQr5W EtihdK2p1+ENh49WmvugKLT7P+Cv+HtIQbalQsm2eRJJkdGe74HhooKrnrj8RRGyVGG8 ANIIeBVBp3hpTQsnmRFBDQDf2mC1p34PO/slRPD+Ath8auQbQl1Db1KavKWJ1YtWThY1 hofNKJh/ab2NVPFwalAyVoBeDhz94P+GOjPnxzb1cpFbJbqCENcIdiVsNYnvJwhv+nrE G6mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=hVyWZYslRa9q8PNDlcV6yjqvAfDn3C/ZqZ53TxJeAkY=; b=0cWm/Kd0ZCoKIH/ptHm752MvdnYZAfTMO0TN8wgXTbhVhdNiKVFdgdXbTt3Q3VvMFy AgjKGkBBCFYF2MHjMQgpBG3pfJUuFe1N/6H+0KS97UyeEmmjYkHSyc90YQ3osRw8otQ3 49kr0e7WuCbNRs3O1aM90DVOVfCvmvrGnZ0lPaeJNQc79UQb2HB+20yaXRRxGRSxX+bw avjiNz+XGGi2zNvDUsmrHlg/5a0O6gZTF0hM8MIV8DWCm62ER560yVyZuTwYXDkudDht kAwr2I0+fLg5h2+4nYhZDhIJYC/YvVNtxLmjc2eT+/Uheaim52mlaKwtLRZfKmJt431c L0Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EZy2qVIm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r21-20020a1709064d1500b00977d602118bsi4997625eju.202.2023.06.11.22.40.32; Sun, 11 Jun 2023 22:41:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EZy2qVIm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234229AbjFLFdX (ORCPT + 99 others); Mon, 12 Jun 2023 01:33:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229880AbjFLFdV (ORCPT ); Mon, 12 Jun 2023 01:33:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 842FF9B; Sun, 11 Jun 2023 22:33:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2A20961EE1; Mon, 12 Jun 2023 05:33:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 624EDC433EF; Mon, 12 Jun 2023 05:33:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686547999; bh=DWdxQmn2lQW7lp07K3aZRrfVJ16y3PIMhFImAxla3ig=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EZy2qVImfXbY9mkrpLw0PqcaM2BGbWapHCmlVfrJqzrKDc4yDfQgQyEQaUGW/IV4b N0u6gKc6YNY9GNbEkCGTn38VThvyZJDZmh99f/50fZN+Ai4q1wYtpvtP6FnkeXMp1Z g4BqpcJ2yEbPVeDzORB/PxV/4LVSWwwEevpnBybUyDzqmu0h0T3SctEFQTzpuOscWQ 4Zb+AHF5E6dqk5kMn+1S/HNUD0Tfa2TPYdqMlDr4IVcgYXK+OU99fnmjIRbrmI7wtZ ufxs97I1+Zfe94jv8wHEpCV+We+6WPYzTh2RjtWjVl2kr45qfvwq7OmvZEywlbIxdq oJ20hexHPZqXg== Date: Mon, 12 Jun 2023 14:33:16 +0900 From: Masami Hiramatsu (Google) To: Mark Brown Cc: Steven Rostedt , Shuah Khan , Shuah Khan , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH] selftests/ftace: Fix KTAP output ordering Message-Id: <20230612143316.1851a0fd7a49971f1b2209bf@kernel.org> In-Reply-To: <20230609-ftrace-ktap-order-v1-1-0abf4d0d6922@kernel.org> References: <20230609-ftrace-ktap-order-v1-1-0abf4d0d6922@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 10 Jun 2023 15:27:55 +0100 Mark Brown wrote: > The KTAP parser I used to test the KTAP output for ftracetest was overly > robust and did not notice that the test number and pass/fail result were > reversed. Fix this. Oops, I also missed that part. According to the Documentation/dev-tools/ktap.rst, the result string ('ok', 'not ok') must be the first item. Acked-by: Masami Hiramatsu (Google) Shuah, could you pick this? Thank you, > > Fixes: dbcf76390eb9 ("elftests/ftrace: Improve integration with kselftest runner") > Signed-off-by: Mark Brown > --- > tools/testing/selftests/ftrace/ftracetest | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/ftrace/ftracetest b/tools/testing/selftests/ftrace/ftracetest > index 2506621e75df..cb5f18c06593 100755 > --- a/tools/testing/selftests/ftrace/ftracetest > +++ b/tools/testing/selftests/ftrace/ftracetest > @@ -301,7 +301,7 @@ ktaptest() { # result comment > comment="# $comment" > fi > > - echo $CASENO $result $INSTANCE$CASENAME $comment > + echo $result $CASENO $INSTANCE$CASENAME $comment > } > > eval_result() { # sigval > > --- > base-commit: dbcf76390eb9a65d5d0c37b0cd57335218564e37 > change-id: 20230609-ftrace-ktap-order-d5b64a74dc79 > > Best regards, > -- > Mark Brown > -- Masami Hiramatsu (Google)