diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-07-27 20:43:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 20:43:30 (GMT) |
commit | 1e91d96fa02466ffe451319bdac1005f84dc7993 (patch) | |
tree | 4de04ef502c313dfd766497b20235188761146c0 /test/vfd_plugin.c | |
parent | 95e5349089b95dfb95f0f8ce2d6db1bc04ba6c82 (diff) | |
download | hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.zip hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.gz hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.bz2 |
Brings over most of the HD prefix removal (#3293)
Diffstat (limited to 'test/vfd_plugin.c')
-rw-r--r-- | test/vfd_plugin.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/vfd_plugin.c b/test/vfd_plugin.c index 182c048..2b7ed38 100644 --- a/test/vfd_plugin.c +++ b/test/vfd_plugin.c @@ -291,7 +291,7 @@ test_get_config_str(void) TEST_ERROR; /* Try to retrieve length of default configuration string - should be 0 */ - HDmemset(config_str_buf, 0, 128); + memset(config_str_buf, 0, 128); if ((config_str_len = H5Pget_driver_config_str(fapl_id, config_str_buf, 128)) < 0) TEST_ERROR; @@ -349,7 +349,7 @@ test_env_var(void) TESTING("Loading of VFD plugin with HDF5_DRIVER environment variable"); /* Try to retrieve length of default configuration string - should be 0 */ - HDmemset(config_str_buf, 0, 128); + memset(config_str_buf, 0, 128); if ((config_str_len = H5Pget_driver_config_str(H5P_FILE_ACCESS_DEFAULT, config_str_buf, 128)) < 0) TEST_ERROR; @@ -379,7 +379,7 @@ test_env_var(void) TEST_ERROR; /* Check driver configuration string */ - HDmemset(config_str_buf, 0, 128); + memset(config_str_buf, 0, 128); if ((config_str_len = H5Pget_driver_config_str(H5P_FILE_ACCESS_DEFAULT, config_str_buf, 128)) < 0) TEST_ERROR; if (HDstrlen(config_str) != config_str_len) @@ -429,11 +429,11 @@ main(void) nerrors += (test_env_var() < 0) ? 1 : 0; if (nerrors) { - HDprintf("***** %d VFD plugin TEST%s FAILED! *****\n", nerrors, nerrors > 1 ? "S" : ""); - HDexit(EXIT_FAILURE); + printf("***** %d VFD plugin TEST%s FAILED! *****\n", nerrors, nerrors > 1 ? "S" : ""); + exit(EXIT_FAILURE); } HDputs("All VFD plugin tests passed."); - HDexit(EXIT_SUCCESS); + exit(EXIT_SUCCESS); } |