From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Wang Date: Thu, 3 May 2018 15:54:18 +0800 Subject: [LTP] [RFC PATCH 1/1] tst_test.sh: TCONF on basename error when setting TST_ID In-Reply-To: <20180502144542.4wmenub3p3c7kega@dell5510> References: <20180502134553.5429-1-pvorel@suse.cz> <20180502144542.4wmenub3p3c7kega@dell5510> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: ltp@lists.linux.it On Wed, May 2, 2018 at 10:45 PM, Petr Vorel wrote: > Hi, > > ... > > if [ -z "$TST_ID" ]; then > > - filename=3D$(basename $0) > > + filename=3D$(basename $0) || \ > > + tst_brk TBROK "Failed to set TST_ID from \$0 ('$0'), fix > it with setting TST_ID before sourcing tst_test.sh" > ^ > Here is going to be TCONF. > =E2=80=8BLooks good to me. --=20 Li Wang liwang@redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: