summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-13 18:47:10 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-12-13 18:47:10 (GMT)
commit568e30ef0d40f9a296b387f4ec4f42d2cbbbd641 (patch)
tree9d06326f9d39dcce40bbec51f5f09de20ebde325 /test
parent7aedeedf67adf688c8683acf392c21393c64fb22 (diff)
parentdc2cbdaf6720b6c3af72846989dfdbec4f207208 (diff)
downloadhdf5-568e30ef0d40f9a296b387f4ec4f42d2cbbbd641.zip
hdf5-568e30ef0d40f9a296b387f4ec4f42d2cbbbd641.tar.gz
hdf5-568e30ef0d40f9a296b387f4ec4f42d2cbbbd641.tar.bz2
Merge pull request #2133 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'dc2cbdaf6720b6c3af72846989dfdbec4f207208': Revert and move declaration Correct struct access Fix duplicate and varname Fix compile and test issues from DT Add release note for sanitizer support HDFFV-10979 cleanup globals TRILABS-135 Add clang analyzers
Diffstat (limited to 'test')
-rw-r--r--test/cache.c1
-rw-r--r--test/cache_api.c11
2 files changed, 5 insertions, 7 deletions
diff --git a/test/cache.c b/test/cache.c
index 9a60ba8..ca2cf13 100644
--- a/test/cache.c
+++ b/test/cache.c
@@ -44,7 +44,6 @@ hbool_t core_file_driver_failed = FALSE;
const char *FILENAME[] = {
"cache_test",
- "cache_api_test",
NULL
};
diff --git a/test/cache_api.c b/test/cache_api.c
index 1d5aa56..87d0025 100644
--- a/test/cache_api.c
+++ b/test/cache_api.c
@@ -25,7 +25,6 @@
/* global variable declarations: */
const char *FILENAME[] = {
- "cache_test",
"cache_api_test",
NULL
};
@@ -213,7 +212,7 @@ check_fapl_mdc_api_calls(unsigned paged, hid_t fcpl_id)
/* setup the file name */
if ( pass ) {
- if ( h5_fixname(FILENAME[1], H5P_DEFAULT, filename, sizeof(filename))
+ if ( h5_fixname(FILENAME[0], H5P_DEFAULT, filename, sizeof(filename))
== NULL ) {
pass = FALSE;
@@ -361,7 +360,7 @@ check_fapl_mdc_api_calls(unsigned paged, hid_t fcpl_id)
/* setup the file name */
if ( pass ) {
- if ( h5_fixname(FILENAME[1], H5P_DEFAULT, filename, sizeof(filename))
+ if ( h5_fixname(FILENAME[0], H5P_DEFAULT, filename, sizeof(filename))
== NULL ) {
pass = FALSE;
@@ -694,7 +693,7 @@ check_file_mdc_api_calls(unsigned paged, hid_t fcpl_id)
/* setup the file name */
if ( pass ) {
- if ( h5_fixname(FILENAME[1], H5P_DEFAULT, filename, sizeof(filename))
+ if ( h5_fixname(FILENAME[0], H5P_DEFAULT, filename, sizeof(filename))
== NULL ) {
pass = FALSE;
@@ -1040,7 +1039,7 @@ mdc_api_call_smoke_check(int express_test, unsigned paged, hid_t fcpl_id)
/* setup the file name */
if ( pass ) {
- if ( h5_fixname(FILENAME[1], H5P_DEFAULT, filename, sizeof(filename))
+ if ( h5_fixname(FILENAME[0], H5P_DEFAULT, filename, sizeof(filename))
== NULL ) {
pass = FALSE;
@@ -1969,7 +1968,7 @@ check_file_mdc_api_errs(unsigned paged, hid_t fcpl_id)
HDfprintf(stdout, "%s: calling h5_fixname().\n", FUNC);
}
- if ( h5_fixname(FILENAME[1], H5P_DEFAULT, filename, sizeof(filename))
+ if ( h5_fixname(FILENAME[0], H5P_DEFAULT, filename, sizeof(filename))
== NULL ) {
pass = FALSE;