From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Wed, 23 Sep 2020 11:10:07 +0200 Subject: [LTP] [PATCH 1/1] tst_test.sh: More readable syntax In-Reply-To: References: <20200922144237.9865-1-pvorel@suse.cz> Message-ID: <20200923091007.GA12109@dell5510> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Li, > On Tue, Sep 22, 2020 at 10:42 PM Petr Vorel wrote: > > "for cmd; do" works the same way as "for cmd in $*; do", but the latter > > is more readable. Also sync the code with tst_require_cmds(). > > Fixes: dba1d50cb ("tst_test.sh: Add test cmd helper tst_check_cmds()") > > Signed-off-by: Petr Vorel > Reviewed-by: Li Wang Thanks for a review, merged. Kind regards, Petr