mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
Fix checking of HDF5_VOL_CONNECTOR env. var. in some tests (#6073)
This commit is contained in:
@@ -208,7 +208,9 @@ main(int argc, char **argv)
|
||||
|
||||
snprintf(H5_api_test_filename, H5_API_TEST_FILENAME_MAX_LENGTH, "%s%s", test_path_prefix, TEST_FILE_NAME);
|
||||
|
||||
if (NULL == (vol_connector_string = getenv(HDF5_VOL_CONNECTOR))) {
|
||||
vol_connector_string = getenv(HDF5_VOL_CONNECTOR);
|
||||
|
||||
if (!vol_connector_string || *vol_connector_string == '\0') {
|
||||
printf("No VOL connector selected; using native VOL connector\n");
|
||||
vol_connector_name = "native";
|
||||
vol_connector_info = NULL;
|
||||
|
||||
Reference in New Issue
Block a user