From eb2862c80971f106c69bfb46e8324104634fe1f2 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 18 Sep 2018 21:37:20 +0200 Subject: Move data/test* scripts and expected results to test/old/ --- test/old/testflaky | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100755 test/old/testflaky (limited to 'test/old/testflaky') diff --git a/test/old/testflaky b/test/old/testflaky new file mode 100755 index 00000000..ccb9dfd5 --- /dev/null +++ b/test/old/testflaky @@ -0,0 +1,75 @@ +: +# Script to do some testing of flaky transformation that do not depend +# on datum files. +# +# +TEST_OLD_DIR=`dirname $0` +DATA_DIR=`dirname $0`/../../data +EXE=$1 + +usage() +{ + echo "Usage: ${0} " + echo + exit 1 +} + +if test -z "${EXE}"; then + EXE=../../src/cs2cs +fi + +if test ! -x ${EXE}; then + echo "*** ERROR: Can not find '${EXE}' program!" + exit 1 +fi + +echo "============================================" +echo "Running ${0} using ${EXE}:" +echo "============================================" + +OUT=tf_out +#EXE=../src/cs2cs +# +echo "doing tests into file ${OUT}, please wait" +rm -f ${OUT} +# +echo "Test healpix inverse projection on sphere" >> ${OUT} +$EXE +proj=latlong +a=1 +lon_0=0 \ + +to +proj=healpix +a=1 +lon_0=0 -f '%.'5'f' -I\ + -E >>${OUT} <>${OUT} <