aboutsummaryrefslogtreecommitdiff
path: root/nad/test27
diff options
context:
space:
mode:
Diffstat (limited to 'nad/test27')
-rwxr-xr-xnad/test275
1 files changed, 3 insertions, 2 deletions
diff --git a/nad/test27 b/nad/test27
index 583f6032..66f6f1c4 100755
--- a/nad/test27
+++ b/nad/test27
@@ -6,6 +6,7 @@
# Proj will vary in the .001ft range with projections using Transverse
# Mercator due to greater precision of meridinal distance function.
#
+NAD_DIR=`dirname $0`
EXE=$1
usage()
@@ -29,7 +30,7 @@ echo "Running ${0} using ${EXE}:"
echo "============================================"
OUT=proj_out27
-INIT_FILE=./nad27
+INIT_FILE=${NAD_DIR}/nad27
#
echo "doing tests into file ${OUT}, please wait"
#
@@ -831,7 +832,7 @@ EOF
#
# do 'diff' with distribution results
echo "diff ${OUT} with pj_out27.dist"
-diff -b ${OUT} pj_out27.dist
+diff -b ${OUT} ${NAD_DIR}/pj_out27.dist
if [ $? -ne 0 ] ; then
echo ""
echo "PROBLEMS HAVE OCCURED"