From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shards.monkeyblade.net ([184.105.139.130]:53338 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751147AbeCIQWb (ORCPT ); Fri, 9 Mar 2018 11:22:31 -0500 Date: Fri, 09 Mar 2018 11:22:29 -0500 (EST) Message-Id: <20180309.112229.636378484047728382.davem@davemloft.net> To: bjb@mojatatu.com Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, chrism@mellanox.com, lucasb@mojatatu.com, aring@mojatatu.com, mrv@mojatatu.com, batuhanosmantaskaya@gmail.com, dcaratti@redhat.com, netdev@vger.kernel.org, kernel@mojatatu.com Subject: Re: [PATCH v2 net-next] tools: tc-testing: Can refer to $TESTID in test spec From: David Miller In-Reply-To: <20180308202744.31722-1-bjb@mojatatu.com> References: <20180308202744.31722-1-bjb@mojatatu.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: From: "Brenda J. Butler" Date: Thu, 8 Mar 2018 15:27:44 -0500 > When processing the commands in the test cases, substitute > the test id for $TESTID. This helps to make more flexible > tests. For example, the testid can be given as a command > line argument. > > As an example, if we wish to save the test output to a file > named for the test case, we can write in the test case: > > "cmdUnderTest": "some test command | tee -a $TESTID.out" > > Signed-off-by: Brenda J. Butler Applied.