summaryrefslogtreecommitdiffstats
path: root/test/API/H5_api_test.c
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2023-09-26 20:11:22 (GMT)
committerGitHub <noreply@github.com>2023-09-26 20:11:22 (GMT)
commita87ca572fed15303ad36adcb6f2203f8297e8277 (patch)
tree88d481127b274229c2e3a21146015fab2c82aa0e /test/API/H5_api_test.c
parent58f3d6664e7a2af8d6b1813374ab02d72795a5e1 (diff)
downloadhdf5-a87ca572fed15303ad36adcb6f2203f8297e8277.zip
hdf5-a87ca572fed15303ad36adcb6f2203f8297e8277.tar.gz
hdf5-a87ca572fed15303ad36adcb6f2203f8297e8277.tar.bz2
Replaces HDgetenv with getenv (#3599)
Diffstat (limited to 'test/API/H5_api_test.c')
-rw-r--r--test/API/H5_api_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/API/H5_api_test.c b/test/API/H5_api_test.c
index 98dd260..654eb40 100644
--- a/test/API/H5_api_test.c
+++ b/test/API/H5_api_test.c
@@ -155,12 +155,12 @@ main(int argc, char **argv)
seed = (unsigned)HDtime(NULL);
srand(seed);
- if (NULL == (test_path_prefix = HDgetenv(HDF5_API_TEST_PATH_PREFIX)))
+ if (NULL == (test_path_prefix = getenv(HDF5_API_TEST_PATH_PREFIX)))
test_path_prefix = "";
snprintf(H5_api_test_filename, H5_API_TEST_FILENAME_MAX_LENGTH, "%s%s", test_path_prefix, TEST_FILE_NAME);
- if (NULL == (vol_connector_string = HDgetenv(HDF5_VOL_CONNECTOR))) {
+ if (NULL == (vol_connector_string = getenv(HDF5_VOL_CONNECTOR))) {
printf("No VOL connector selected; using native VOL connector\n");
vol_connector_name = "native";
vol_connector_info = NULL;