1#!/bin/bash 2 3if test "x$SETX" = x1 ; then set -x ; fi 4 5if test "x$srcdir" = x ; then srcdir=`pwd`; fi 6. ../test_common.sh 7 8set -e 9 10. ${srcdir}/tst_utils.sh 11 12# get the list of test url targets 13. ${srcdir}/tst_urls.sh 14 15PARAMS="${PARAMS}[netcdf3]" 16 17# Choose tests to run 18if test "x$longtests" != x; then 19WHICHTESTS="L1 LC1 LC2" 20else # Standard test set 21WHICHTESTS="S1 C1" 22fi 23 24TITLE="DAP to netCDF-3 translation using remote server" 25EXPECTED="$expected3" 26RESULTSDIR="remote_results" 27 28rm -fr ${RESULTSDIR} 29mkdir "${RESULTSDIR}" 30 31echo "*** Testing $TITLE " 32echo " Base URL: ${DTS}" 33echo " Client Parameters: ${PARAMS}" 34if test "$cache" = 0; then echo " Caching: off"; else echo " Caching: on"; fi 35echo " Note: The remote tests may be slow or even fail if the server is overloaded" 36 37cd ${RESULTSDIR} 38for i in $WHICHTESTS ; do 39 computewhich $i 40 doremotetests remote 41done 42cd .. 43summarize 44cleanup 45doexit 46 47