summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-12 18:36:49 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-12-12 18:36:49 (GMT)
commit8bca58a0d8efc56d5e45c5ca5e8f2a255882bed4 (patch)
tree5dcac7f0b54685e3a03f3e74a1c1176cf351f512
parent03185042b8712995342934f2a2a5ff74c6422c3c (diff)
downloadhdf5-8bca58a0d8efc56d5e45c5ca5e8f2a255882bed4.zip
hdf5-8bca58a0d8efc56d5e45c5ca5e8f2a255882bed4.tar.gz
hdf5-8bca58a0d8efc56d5e45c5ca5e8f2a255882bed4.tar.bz2
HDFFV-10979 cleanup global names
-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;