netcdf-c/dap4_test/tst_curlopt.sh
Dennis Heimbigner 93e9d92778 More NCZarr optimizations
* Replace wholevar with more useful wholechunk optimization
* Add optimization to read multiple values at one time
* Replace NCDEFAULT_get/put_vars with native nczarr versions.
* Clarify chunk projection computations
* zdebdispatch.h
* Add more chunking test cases and re-enable run_chunkcases
* If !szip, then suppress deflate interference test
* Make H5Znoop(1) filter produce more information
* cleanup bzlib.c API
2021-01-06 13:35:59 -07:00

34 lines
780 B
Bash
Executable File

#!/bin/sh
# These tests are intended to be run only manually.
# The idea is to gdb ncdump and check that the CURLOPT flags
# is being processed correctly.
# As a rule, you will need to set the breakpoint in
# NCD4_get_rcproperties
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh
# Figure our server; if none, then just stop
SVC=`${execdir}/findtestserver4 dap4 d4ts`
TESTCASE=test_atomic_types.nc
if test "x$SVC" = "x" ; then
echo "WARNING: Cannot locate test server"
exit
fi
URL="[log][dap4][show=fetch]${SVC}/testfiles/${TESTCASE}"
# Create the .daprc file
rm -f ./.daprc
echo '# tst_curlopt.sh' > ./.daprc
echo 'HTTP.READ.BUFFERSIZE=max' >> ./.daprc
echo 'HTTP.KEEPALIVE=60/60' >> ./.daprc
gdb --args ${NCDUMP} "${URL}"
# cleanup
rm -f ./.daprc
exit