From a727cf1f6e6a5f3eec8ede1f6e5060d2f949a097 Mon Sep 17 00:00:00 2001 From: Hyo-Kyung Lee Date: Mon, 24 Jul 2023 11:23:03 -0500 Subject: [PATCH] chore: fix grammar - get hang -> get hung --- testpar/API/t_bigio.c | 2 +- testpar/API/t_shapesame.c | 2 +- testpar/API/testphdf5.c | 2 +- testpar/t_bigio.c | 2 +- testpar/t_cache.c | 2 +- testpar/t_cache_image.c | 2 +- testpar/t_shapesame.c | 2 +- testpar/testphdf5.c | 16 ++++++++-------- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/testpar/API/t_bigio.c b/testpar/API/t_bigio.c index c6e1ad29c25..f1d7a975b5e 100644 --- a/testpar/API/t_bigio.c +++ b/testpar/API/t_bigio.c @@ -1861,7 +1861,7 @@ main(int argc, char **argv) /* Attempt to turn off atexit post processing so that in case errors * happen during the test and the process is aborted, it will not get - * hang in the atexit post processing in which it may try to make MPI + * hung in the atexit post processing in which it may try to make MPI * calls. By then, MPI calls may not work. */ if (H5dont_atexit() < 0) diff --git a/testpar/API/t_shapesame.c b/testpar/API/t_shapesame.c index 621c336b544..cabcc96a0bc 100644 --- a/testpar/API/t_shapesame.c +++ b/testpar/API/t_shapesame.c @@ -4301,7 +4301,7 @@ main(int argc, char **argv) /* Attempt to turn off atexit post processing so that in case errors * happen during the test and the process is aborted, it will not get - * hang in the atexit post processing in which it may try to make MPI + * hung in the atexit post processing in which it may try to make MPI * calls. By then, MPI calls may not work. */ if (H5dont_atexit() < 0) { diff --git a/testpar/API/testphdf5.c b/testpar/API/testphdf5.c index 9469c12857f..049e61c94d8 100644 --- a/testpar/API/testphdf5.c +++ b/testpar/API/testphdf5.c @@ -341,7 +341,7 @@ main(int argc, char **argv) /* Attempt to turn off atexit post processing so that in case errors * happen during the test and the process is aborted, it will not get - * hang in the atexit post processing in which it may try to make MPI + * hung in the atexit post processing in which it may try to make MPI * calls. By then, MPI calls may not work. */ if (H5dont_atexit() < 0) { diff --git a/testpar/t_bigio.c b/testpar/t_bigio.c index 0c4d125bd74..3a2802207b6 100644 --- a/testpar/t_bigio.c +++ b/testpar/t_bigio.c @@ -1870,7 +1870,7 @@ main(int argc, char **argv) /* Attempt to turn off atexit post processing so that in case errors * happen during the test and the process is aborted, it will not get - * hang in the atexit post processing in which it may try to make MPI + * hung in the atexit post processing in which it may try to make MPI * calls. By then, MPI calls may not work. */ if (H5dont_atexit() < 0) diff --git a/testpar/t_cache.c b/testpar/t_cache.c index d6768bd721f..0d188514ebd 100644 --- a/testpar/t_cache.c +++ b/testpar/t_cache.c @@ -6676,7 +6676,7 @@ main(int argc, char **argv) /* Attempt to turn off atexit post processing so that in case errors * happen during the test and the process is aborted, it will not get - * hang in the atexit post processing in which it may try to make MPI + * hung in the atexit post processing in which it may try to make MPI * calls. By then, MPI calls may not work. */ if (H5dont_atexit() < 0) diff --git a/testpar/t_cache_image.c b/testpar/t_cache_image.c index dd7125e4bdc..f1f6f5d6c37 100644 --- a/testpar/t_cache_image.c +++ b/testpar/t_cache_image.c @@ -3523,7 +3523,7 @@ main(int argc, char **argv) /* Attempt to turn off atexit post processing so that in case errors * happen during the test and the process is aborted, it will not get - * hang in the atexit post processing in which it may try to make MPI + * hung in the atexit post processing in which it may try to make MPI * calls. By then, MPI calls may not work. */ if (H5dont_atexit() < 0) diff --git a/testpar/t_shapesame.c b/testpar/t_shapesame.c index dc60e51c88f..c366661df12 100644 --- a/testpar/t_shapesame.c +++ b/testpar/t_shapesame.c @@ -4272,7 +4272,7 @@ main(int argc, char **argv) /* Attempt to turn off atexit post processing so that in case errors * happen during the test and the process is aborted, it will not get - * hang in the atexit post processing in which it may try to make MPI + * hung in the atexit post processing in which it may try to make MPI * calls. By then, MPI calls may not work. */ if (H5dont_atexit() < 0) { diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c index b35a7585fd3..eacadda2bc9 100644 --- a/testpar/testphdf5.c +++ b/testpar/testphdf5.c @@ -256,7 +256,7 @@ create_faccess_plist(MPI_Comm comm, MPI_Info info, int l_facc_type) MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank); ret_pl = H5Pcreate(H5P_FILE_ACCESS); - VRFY((ret_pl >= 0), "H5P_FILE_ACCESS"); + VRFY((ret_pl >= 0), "H5Pcreate succeeded"); if (l_facc_type == FACC_DEFAULT) return (ret_pl); @@ -264,11 +264,11 @@ create_faccess_plist(MPI_Comm comm, MPI_Info info, int l_facc_type) if (l_facc_type == FACC_MPIO) { /* set Parallel access with communicator */ ret = H5Pset_fapl_mpio(ret_pl, comm, info); - VRFY((ret >= 0), ""); + VRFY((ret >= 0), "H5Pset_fapl_mpio succeeded"); ret = H5Pset_all_coll_metadata_ops(ret_pl, TRUE); - VRFY((ret >= 0), ""); + VRFY((ret >= 0), "H5Pset_all_coll_metadata_ops succeeded"); ret = H5Pset_coll_metadata_write(ret_pl, TRUE); - VRFY((ret >= 0), ""); + VRFY((ret >= 0), "H5Pset_coll_metadata_write succeeded"); return (ret_pl); } @@ -276,14 +276,14 @@ create_faccess_plist(MPI_Comm comm, MPI_Info info, int l_facc_type) hid_t mpio_pl; mpio_pl = H5Pcreate(H5P_FILE_ACCESS); - VRFY((mpio_pl >= 0), ""); + VRFY((mpio_pl >= 0), "H5Pcreate succeeded"); /* set Parallel access with communicator */ ret = H5Pset_fapl_mpio(mpio_pl, comm, info); - VRFY((ret >= 0), ""); + VRFY((ret >= 0), "H5Pset_fapl_mpio succeeded"); /* setup file access template */ ret_pl = H5Pcreate(H5P_FILE_ACCESS); - VRFY((ret_pl >= 0), ""); + VRFY((ret_pl >= 0), "H5Pcreate succeeded"); /* set Parallel access with communicator */ ret = H5Pset_fapl_split(ret_pl, ".meta", mpio_pl, ".raw", mpio_pl); VRFY((ret >= 0), "H5Pset_fapl_split succeeded"); @@ -325,7 +325,7 @@ main(int argc, char **argv) /* Attempt to turn off atexit post processing so that in case errors * happen during the test and the process is aborted, it will not get - * hang in the atexit post processing in which it may try to make MPI + * hung in the atexit post processing in which it may try to make MPI * calls. By then, MPI calls may not work. */ if (H5dont_atexit() < 0) {