From 5b6909ef50da07bd3a02f1dad52053f81baab649 Mon Sep 17 00:00:00 2001 From: Michael Tatarinov Date: Thu, 6 Oct 2011 15:12:22 +0400 Subject: More fixes with a unique temporary directories and files for the regression test.. Signed-off-by: Eric S. Raymond --- regress-driver | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'regress-driver') diff --git a/regress-driver b/regress-driver index b9015ee2..f6bcfc02 100755 --- a/regress-driver +++ b/regress-driver @@ -105,7 +105,7 @@ case $mode in then trap 'rm -f ${TMP}/test-$$.chk; exit $errors' EXIT HUP INT TERM case $testing in - daemon) ${PYTHON} ${GPSD_HOME}/gpsfake -s 38400 -f -1 -p $opts ${f} | ${GPSFILTER} ${ALTFILTER} >${TMP}/test-$$.chk ;; + daemon) TMPDIR=${TMP} ${PYTHON} ${GPSD_HOME}/gpsfake -s 38400 -f -1 -p $opts ${f} | ${GPSFILTER} ${ALTFILTER} >${TMP}/test-$$.chk ;; clientlib) ${GPSD_HOME}/test_libgps -b <${f} >${TMP}/test-$$.chk ;; esac if [ "${ALTFILTER}" ] @@ -189,4 +189,5 @@ then echo "scale=2; ${endtime} - ${starttime}" | bc fi +rm -fr ${TMP} exit $status -- cgit v1.2.1