Skip to content

Commit 3e2971d

Browse files
authored
Merge branch 'main' into tinyxmlupdate.dmh
2 parents 0701250 + 155ee93 commit 3e2971d

File tree

6 files changed

+13
-17
lines changed

6 files changed

+13
-17
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This file contains a high-level description of this package's evolution. Release
88
## 4.9.3 - TBD
99

1010
* Update the internal copy of tinyxml2 to latest code. See [Github #2771](https://github.com/Unidata/netcdf-c/pull/2771).
11-
* Mitigate the problem of test interference. See [Github #2755](https://github.com/Unidata/netcdf-c/pull/2755).
11+
* Mitigate the problem of remote/nczarr-related test interference. See [Github #2755](https://github.com/Unidata/netcdf-c/pull/2755).
1212
* Extend NCZarr to support unlimited dimensions. See [Github #2755](https://github.com/Unidata/netcdf-c/pull/2755).
1313
* Fix significant bug in the NCZarr cache management. See [Github #2737](https://github.com/Unidata/netcdf-c/pull/2737).
1414
* Fix default parameters for caching of NCZarr. See [Github #2734](https://github.com/Unidata/netcdf-c/pull/2734).

dap4_test/CMakeLists.txt

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,4 @@ ENDIF(ENABLE_TESTS)
7878
#FILE(COPY ./cdltestfiles DESTINATION ${CMAKE_CURRENT_SOURCE_DIR})
7979
#FILE(COPY ./rawtestfiles DESTINATION ${CMAKE_CURRENT_SOURCE_DIR})
8080

81-
## Specify files to be distributed by 'make dist'
82-
FILE(GLOB CUR_EXTRA_DIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.c ${CMAKE_CURRENT_SOURCE_DIR}/*.h ${CMAKE_CURRENT_SOURCE_DIR}/*.sh
83-
${CMAKE_CURRENT_SOURCE_DIR}/cdltestfiles
84-
${CMAKE_CURRENT_SOURCE_DIR}/rawtestfiles
85-
${CMAKE_CURRENT_SOURCE_DIR}/baseline
86-
${CMAKE_CURRENT_SOURCE_DIR}/baselineraw
87-
${CMAKE_CURRENT_SOURCE_DIR}/baselineremote
88-
#${CMAKE_CURRENT_SOURCE_DIR}/baselinerthredds
89-
${CMAKE_CURRENT_SOURCE_DIR}/baselinehyrax
90-
)
91-
SET(CUR_EXTRA_DIST ${CUR_EXTRA_DIST} CMakeLists.txt Makefile.am)
92-
ADD_EXTRA_DIST("${CUR_EXTRA_DIST}")
81+

libdispatch/dpathmgr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ NCpathcvt(const char* inpath)
168168
}
169169
nullfree(tmp1);
170170
clearPath(&inparsed);
171+
//fprintf(stderr,">>> ncpathcvt: inpath=%s result=%s\n",inpath,result);
171172
return result;
172173
}
173174

nczarr_test/run_interop.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22

3+
set -e
4+
35
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
46
. ../test_common.sh
57

@@ -43,16 +45,19 @@ testcasezip() {
4345
}
4446

4547
testcases3() {
48+
set -x
4649
echo -e "\to Running S3 Testcase:\t$1\t$2"
4750
zext=s3
4851
base=$1
4952
mode=$2
5053
rm -f tmp_${base}_${zext}.cdl
5154
url="https://${UH}/${UB}/${base}.zarr#mode=${mode},s3"
55+
echo "flags: $flags"
5256
# Dumping everything causes timeout so dump a single var
53-
${NCDUMP} -v "/group_with_dims/var2D" $flags $url > tmp_${base}_${zext}.cdl
57+
${NCDUMP} -v "group_with_dims/var2D" $flags $url > tmp_${base}_${zext}.cdl
5458
# Find the proper ref file
5559
diff -b ${ISOPATH}/ref_${base}_2d.cdl tmp_${base}_${zext}.cdl
60+
set +x
5661
}
5762

5863
testallcases() {

nczarr_test/run_notzarr.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/sh
2-
2+
#set -x
3+
#set -e
34
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
45
. ../test_common.sh
56

@@ -29,7 +30,7 @@ cp ${srcdir}/ref_notzarr.tar.gz .
2930
gunzip ref_notzarr.tar.gz
3031
tar -xf ref_notzarr.tar
3132
if test "x$FEATURE_S3TESTS" = xyes ; then
32-
${execdir}/s3util -f notzarr.file/notzarr.txt -u "https://${URL}" -k "/${S3ISOPATH}/notzarr.s3/notzarr.txt" upload
33+
${execdir}/s3util -f notzarr.file/notzarr.txt -u "https://${URL}" -k "//${S3ISOPATH}/notzarr.s3/notzarr.txt" upload
3334
fi
3435

3536
echo "Test empty file"

unit_test/run_s3sdk.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ isolate "testdir_uts3sdk"
1414
# Create an isolation path for S3; build on the isolation directory
1515
S3ISODIR="$ISODIR"
1616
S3ISOPATH="/${S3TESTSUBTREE}"
17-
S3ISOPATH="${S3ISOPATH}/$S3ISODIR"
17+
S3ISOPATH="/${S3ISOPATH}/$S3ISODIR"
1818

1919
test_cleanup() {
2020
${CMD} ${execdir}/../nczarr_test/s3util -u "${URL}" -k "${S3ISOPATH}" clear

0 commit comments

Comments
 (0)