diff options
author | Michael Tatarinov <kukabu@gmail.com> | 2011-10-06 15:12:22 +0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-10-06 12:08:17 -0400 |
commit | 5b6909ef50da07bd3a02f1dad52053f81baab649 (patch) | |
tree | 43bbee3b4a58e6f3bd3b41657b5f9abbeec28f8f /regress-driver | |
parent | 7fd45864bb080b74fd94bef17468648dd4d5f891 (diff) | |
download | gpsd-5b6909ef50da07bd3a02f1dad52053f81baab649.tar.gz |
More fixes with a unique temporary directories and files for the regression test..
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'regress-driver')
-rwxr-xr-x | regress-driver | 3 |
1 files changed, 2 insertions, 1 deletions
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 |