summaryrefslogtreecommitdiff
path: root/regress-driver
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-06-06 11:18:59 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-06-06 11:18:59 -0400
commit5340f2bbe04655b28bd9dba0a6ddc8be5bec9a8a (patch)
tree9e6018bf5b194daed10b482378ae87a4b8e90a7d /regress-driver
parent7ae9d90185cbc40880d22f790a5701758c85258a (diff)
parent0f32f5efe53a8cf4584c6d06af3f4e46cfbba6a4 (diff)
downloadgpsd-5340f2bbe04655b28bd9dba0a6ddc8be5bec9a8a.tar.gz
Merge branch 'master' of ssh://git.berlios.de/gitroot/gpsd
Diffstat (limited to 'regress-driver')
-rwxr-xr-xregress-driver11
1 files changed, 5 insertions, 6 deletions
diff --git a/regress-driver b/regress-driver
index 97b96afb..6cc040cc 100755
--- a/regress-driver
+++ b/regress-driver
@@ -6,14 +6,13 @@
# Requires GNU date extensions
# Should return an empty blank string if tose are not present.
-starttime=`date +"%s.%N" 2>/dev/null`
+starttime=`date +"%s" 2>/dev/null`
-# We need to have the build directory in $PATH to find the new gpsd
-# in case there is one in $PATH somewhere else in the system.
+# We need to have the build directory in $GPSD_HOME to find the new gpsd
if [ "`dirname $0`" = "." ]; then
- PATH=`pwd`:${PATH}
+ GPSD_HOME=`pwd`
else
- PATH=`dirname $0`:${PATH}
+ GPSD_HOME=`dirname $0`
fi
# Arrange to call a gpsfake in the source directory without fuss.
@@ -141,7 +140,7 @@ case $mode in
esac
# See starttime above
-endtime=`date +"%s.%N" 2>/dev/null`
+endtime=`date +"%s" 2>/dev/null`
if [ "$starttime" -a "$endtime" ]
then