From: Michael Richardson Date: Tue, 17 Sep 2019 20:04:43 +0000 (-0400) Subject: change make check to work with POSIX shell X-Git-Tag: tcpdump-4.9.3~24 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/4d245d91898bb210a7acce59c82ad60cb5623e33 change make check to work with POSIX shell --- diff --git a/tests/TESTrun.sh b/tests/TESTrun.sh index 79fd807b..80bfefd3 100755 --- a/tests/TESTrun.sh +++ b/tests/TESTrun.sh @@ -44,7 +44,8 @@ runSimpleTests() esac rm -f core [ "$only" != "" -a "$name" != "$only" ] && continue - export SRCDIR=${srcdir} + SRCDIR=${srcdir} + export SRCDIR # I hate shells with their stupid, useless subshells. passed=`cat ${passedfile}` failed=`cat ${failedfile}`