Run DTrace test scripts with "tst" set to the test script file name.

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Mark Johnston 2016-12-07 23:36:15 +00:00
parent 83faf8fc96
commit 6b91eae9d2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309698

View file

@ -70,7 +70,7 @@ runtest()
err.*.ksh|tst.*.ksh)
expr "$TFILE" : 'err.*' >/dev/null && exstatus=1
ksh "$TFILE" /usr/sbin/dtrace >$STDOUT 2>$STDERR
tst=$TFILE ksh "$TFILE" /usr/sbin/dtrace >$STDOUT 2>$STDERR
status=$?
if [ $status -ne $exstatus ]; then