Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2824646pxb; Mon, 17 Jan 2022 06:32:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9eId+uB7HaE9/RemAt+f8FlY1wBqNWgg32AoLvL73zhAxH1fGpQsbaID0tlkQJqsMsvvJ X-Received: by 2002:a63:9043:: with SMTP id a64mr19936956pge.296.1642429954952; Mon, 17 Jan 2022 06:32:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642429954; cv=none; d=google.com; s=arc-20160816; b=BOljPA0UkdNh2yckmn8M7OkmcEbtQpLxSR/h+x/Ij1mwNl67KMsEIjc49DuJInceSR CV8y3sFP8qC/EMxzE/qzog6BYHa5Hi+0/4oB52b46tJf5S5zuViKn1Sv/7HdepBRXU98 iMidZjPtpy50ZYCyHq2tB8/zxEmWw23fr7g8IRpRgrNY0hrgihgCDcWuZ7o67bp2Rm1f 2p5afVnYFz8OsrcFBupZrD2PJdySb41pCy+8Km6tGULlEJ1f3TGeDbYd52LwAgLpKs2z DN0ITmCcHnj6HVKtrMCoRviIq23UGjQvWqbXrdsbjTLOXfHLnq1Oo8/Uy4WMyaFgAm31 lNHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=81bQSQb3wEEPINMq19rfFYIhQtFYQQaxVg6e3I6g4Z8=; b=dL1HABnuvUyYtfC4KSHUL0mmigUwX17ZLBK0uy7SBi9UYpprVIC0yUBsi58uC4OL/T vaUaScmEj8oarJ97E+RhxkWKDU1nvrVAnFwff51T1N8pAvgEUgdndqNoi4VoG7jg+PAn eu8wU2ZXghEj53e0EHg2btnqPJQnCwIoetCNFTLuueKxba1cmO9ctlZdrTJubItTulLq RN5pOFtHGeeSU7x98XoMtsa5xUvdZ5d5BB/JxmMjWsGAUjPlsd9n8ybY/cxWe1snzy6z q95z42eubMqzinuLJZjSWkF6H39N4ji9lKRwIxzjHlD4ipSBsq4NfYoaK3aqqD18tDbb u9SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="zRlJ7/jj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t1si14263385pgm.334.2022.01.17.06.32.23; Mon, 17 Jan 2022 06:32:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="zRlJ7/jj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234810AbiAQGls (ORCPT + 99 others); Mon, 17 Jan 2022 01:41:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231189AbiAQGlr (ORCPT ); Mon, 17 Jan 2022 01:41:47 -0500 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A86EC06173E for ; Sun, 16 Jan 2022 22:41:47 -0800 (PST) Received: by mail-pf1-x42f.google.com with SMTP id s15so9374382pfw.1 for ; Sun, 16 Jan 2022 22:41:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=81bQSQb3wEEPINMq19rfFYIhQtFYQQaxVg6e3I6g4Z8=; b=zRlJ7/jj2U4qgugcmf+lCbQLOC/npaAeyYwnwxnSYfnoqT9MjGZJn7+/Sah0MGNRo9 k9n0BS1t+1Wx951XTGmvHTE2R/0QsukC8N4ajrHwdhTLpL0D9Pis9+e1J4Qy7r1wT1L9 FituuSQhiMuI9IUmL6mB/m4K5C+gyd3dSswo1SjcV2AIc1zkdKLGP3YEyw9uRbSTnyef 6uwLkkG6P1sPu9QpABrojghmOds3GpdzgLuSlG5/5QmDALF4W9Z0yzUVDOZ69CFgJFC0 dPjpDpGxrLPA2mSW4+hEq0yXGGZSlbeNywVBg0rvb3znVIsa1Qhiq92tqSGqeU0jIHcq LNCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=81bQSQb3wEEPINMq19rfFYIhQtFYQQaxVg6e3I6g4Z8=; b=OoNk9oRmvY8ulNIZOtbippMLJO+B7l55nU/HVN73RGWbprTA0PNpQDFpFRrQ5Ie472 Ekpo3bQI0DR7AtaeX/2Lndprj25y5Z+Vy5Zd0FzGaPYnCy4w9Y9wyDqlkjqjKqeOzWNg NNpl6HbEXVHV7ZnyWvrGNmSi2dJ8md5nFtOtinK0iWjqH3ZSlePjdjxZIu42pckKtug4 tW5De03+0vtWx/O92+IP54psLIrmOnwcr+JNtoymcN8obovt/jttw9GE8yvDziSqm5q2 Ps7fcWkukRLeq8lLJeD1HBIIgBVJnKJlGwLUwJBL1lJt2iu/uLk/ljYoChEDRc6Z6AOw lg+g== X-Gm-Message-State: AOAM530lrZrAa4IHqUVGTDiDjdN3+MhvaJyoxE25AnoHpFVyeGzjyc4v gVX+tGDNXNSL7mMWpafpGKvA07wdsiWvig== X-Received: by 2002:a63:a745:: with SMTP id w5mr17851937pgo.374.1642401706728; Sun, 16 Jan 2022 22:41:46 -0800 (PST) Received: from localhost ([223.184.90.234]) by smtp.gmail.com with ESMTPSA id c6sm12967468pfv.62.2022.01.16.22.41.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jan 2022 22:41:46 -0800 (PST) Date: Mon, 17 Jan 2022 12:11:44 +0530 From: Viresh Kumar To: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado Cc: Shuah Khan , "Rafael J. Wysocki" , linux-pm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCH] selftests: cpufreq: Write test output to stdout as well Message-ID: <20220117064144.bovae2r4wnln7g7k@vireshk-i7> References: <20220114232126.92043-1-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220114232126.92043-1-nfraprado@collabora.com> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14-01-22, 18:21, N?colas F. R. A. Prado wrote: > Use 'tee' to send the test output to stdout in addition to the current > output file. This makes the output easier to handle in automated test > systems and is superior to only later dumping the output file contents > to stdout, since this way the test output can be interleaved with other > log messages, like from the kernel, so that chronology is preserved, > making it easier to detect issues. > > Signed-off-by: N?colas F. R. A. Prado > --- > tools/testing/selftests/cpufreq/main.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/cpufreq/main.sh b/tools/testing/selftests/cpufreq/main.sh > index 31f8c9a76c5f..60ce18ed0666 100755 > --- a/tools/testing/selftests/cpufreq/main.sh > +++ b/tools/testing/selftests/cpufreq/main.sh > @@ -194,5 +194,5 @@ prerequisite > > # Run requested functions > clear_dumps $OUTFILE > -do_test >> $OUTFILE.txt > +do_test | tee -a $OUTFILE.txt > dmesg_dumps $OUTFILE Acked-by: Viresh Kumar -- viresh