#!/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