This commit is contained in:
Dennis Heimbigner 2023-04-26 20:39:48 -06:00
parent 076aad4174
commit a77bdc0a91

View File

@ -6,7 +6,7 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi
set -e
set -x
CMD="valgrind --leak-check=full"
#CMD="valgrind --leak-check=full"
URL="https://s3.us-east-1.amazonaws.com/unidata-zarr-test-data"
@ -17,12 +17,14 @@ S3ISODIR="$ISODIR"
S3ISOPATH="/netcdf-c"
S3ISOPATH="${S3ISOPATH}/$S3ISODIR"
echo ">>> GITHUB_ACTIONS=$GITHUB_ACTIONS"
test_cleanup() {
${CMD} ${execdir}/../nczarr_test/s3util -u "${URL}" -k "${S3ISOPATH}" clear
}
if ! test "x$GITHUB_ACTIONS" ; then
trap test_cleanup EXIT
fi
#if ! test "x$GITHUB_ACTIONS" ; then
#trap test_cleanup EXIT
#fi
THISDIR=`pwd`
cd $ISOPATH