summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-10-04 09:55:03 (GMT)
committerGitHub <noreply@github.com>2023-10-04 09:55:03 (GMT)
commit51ff48b8873d584811f4cad83c19f1edf484b7e4 (patch)
tree22633f494d84072c55d63ef24e314b48518220fb /test
parent42549af4c83f4db09461dac6b500daa7e33752c6 (diff)
downloadhdf5-51ff48b8873d584811f4cad83c19f1edf484b7e4.zip
hdf5-51ff48b8873d584811f4cad83c19f1edf484b7e4.tar.gz
hdf5-51ff48b8873d584811f4cad83c19f1edf484b7e4.tar.bz2
Fix several spelling/grammar issues (#3621) (#3632)
Diffstat (limited to 'test')
-rw-r--r--test/API/tfile.c2
-rw-r--r--test/API/tselect.c4
-rw-r--r--test/cache_api.c4
-rw-r--r--test/direct_chunk.c2
-rw-r--r--test/external.c2
-rw-r--r--test/mf.c2
-rw-r--r--test/onion.c2
-rw-r--r--test/swmr.c4
-rw-r--r--test/tfile.c2
-rw-r--r--test/tselect.c4
10 files changed, 14 insertions, 14 deletions
diff --git a/test/API/tfile.c b/test/API/tfile.c
index 1915749..16429c7 100644
--- a/test/API/tfile.c
+++ b/test/API/tfile.c
@@ -2657,7 +2657,7 @@ test_file_double_file_dataset_open(hbool_t new_format)
hsize_t e_ext_dims[1] = {7}; /* Expanded dimension sizes */
hsize_t s_ext_dims[1] = {3}; /* Shrunk dimension sizes */
hsize_t max_dims0[1] = {8}; /* Maximum dimension sizes */
- hsize_t max_dims1[1] = {H5S_UNLIMITED}; /* Maximum dimesion sizes for extensible array index */
+ hsize_t max_dims1[1] = {H5S_UNLIMITED}; /* Maximum dimension sizes for extensible array index */
hsize_t max_dims2[2] = {H5S_UNLIMITED, H5S_UNLIMITED}; /* Maximum dimension sizes for v2 B-tree index */
hsize_t chunks[1] = {2}, chunks2[2] = {4, 5}; /* Chunk dimension sizes */
#if 0
diff --git a/test/API/tselect.c b/test/API/tselect.c
index 49215c2..b0a3626 100644
--- a/test/API/tselect.c
+++ b/test/API/tselect.c
@@ -11336,7 +11336,7 @@ test_shape_same_dr__checkerboard(int test_num, int small_rank, int large_rank, i
/* Now select the checkerboard selection in the (possibly larger) n-cube.
*
* Since we have already calculated the base start, stride, count,
- * and block, re-use the values in setting up start, stride, count,
+ * and block, reuse the values in setting up start, stride, count,
* and block.
*/
for (i = 0; i < SS_DR_MAX_RANK; i++) {
@@ -12793,7 +12793,7 @@ test_space_update_diminfo(void)
hid_t space_id; /* Dataspace id */
#if 0
H5S_diminfo_valid_t diminfo_valid; /* Diminfo status */
- H5S_diminfo_valid_t rebuild_status; /* Diminfo status after rebuid */
+ H5S_diminfo_valid_t rebuild_status; /* Diminfo status after rebuild */
#endif
H5S_sel_type sel_type; /* Selection type */
herr_t ret; /* Return value */
diff --git a/test/cache_api.c b/test/cache_api.c
index 1752a43..0f5a5dd 100644
--- a/test/cache_api.c
+++ b/test/cache_api.c
@@ -243,7 +243,7 @@ check_fapl_mdc_api_calls(unsigned paged, hid_t fcpl_id)
}
}
- /* conpare the cache's internal configuration with the expected value */
+ /* compare the cache's internal configuration with the expected value */
if (pass) {
if (!resize_configs_are_equal(&default_auto_size_ctl, &cache_ptr->resize_ctl, TRUE)) {
@@ -386,7 +386,7 @@ check_fapl_mdc_api_calls(unsigned paged, hid_t fcpl_id)
}
}
- /* conpare the cache's internal configuration with the expected value */
+ /* compare the cache's internal configuration with the expected value */
if (pass) {
if (!resize_configs_are_equal(&mod_auto_size_ctl, &cache_ptr->resize_ctl, TRUE)) {
diff --git a/test/direct_chunk.c b/test/direct_chunk.c
index 078349c..89eb90c 100644
--- a/test/direct_chunk.c
+++ b/test/direct_chunk.c
@@ -407,7 +407,7 @@ test_direct_chunk_overwrite_data(hid_t fid)
if ((sid = H5Screate_simple(OVERWRITE_NDIMS, dset_dims, dset_max_dims)) < 0)
FAIL_STACK_ERROR;
- /* Set chunk size and filll value */
+ /* Set chunk size and fill value */
if ((dcpl_id = H5Pcreate(H5P_DATASET_CREATE)) < 0)
FAIL_STACK_ERROR;
if (H5Pset_fill_value(dcpl_id, tid, &fill_value) < 0)
diff --git a/test/external.c b/test/external.c
index cc0d262..aad2d7c 100644
--- a/test/external.c
+++ b/test/external.c
@@ -513,7 +513,7 @@ test_multiple_files(hid_t file)
FAIL_STACK_ERROR;
if (H5Pclose(dcpl) < 0)
FAIL_STACK_ERROR;
- /* Re-use space below */
+ /* Reuse space below */
/* ----------------------------------------------
* Verify that too-small external files will fail
diff --git a/test/mf.c b/test/mf.c
index c224119..bc01c38 100644
--- a/test/mf.c
+++ b/test/mf.c
@@ -1979,7 +1979,7 @@ error:
*-------------------------------------------------------------------------
* To verify that an aggregator is absorbed into a section.
*
- * Test 1: To aborb the aggregator onto the beginning of the section
+ * Test 1: To absorb the aggregator onto the beginning of the section
* Allocate block A from meta_aggr
* Create a free-space section node with an address that adjoins
* the end of meta_aggr and a size to make the aggregator
diff --git a/test/onion.c b/test/onion.c
index eb44a4f..51e5d24 100644
--- a/test/onion.c
+++ b/test/onion.c
@@ -1678,7 +1678,7 @@ verify_history_as_expected_onion(H5FD_t *raw_file, struct expected_history *filt
if (H5FD__onion_history_decode(buf, &history_out) != readsize)
TEST_ERROR;
- /* Re-use buffer space to sanity-check checksum for record pointer(s). */
+ /* Reuse buffer space to sanity-check checksum for record pointer(s). */
assert(readsize >= sizeof(H5FD_onion_record_loc_t));
for (size_t i = 0; i < history_out.n_revisions; i++) {
diff --git a/test/swmr.c b/test/swmr.c
index 0354744..d91d273 100644
--- a/test/swmr.c
+++ b/test/swmr.c
@@ -4054,7 +4054,7 @@ test_append_flush_dataset_chunked(hid_t in_fapl)
hsize_t dims[2] = {100, 0}; /* The dataset dimension sizes */
hsize_t maxdims[2] = {100, H5S_UNLIMITED}; /* The dataset maximum dimension sizes */
- hsize_t chunk_dims[2] = {5, 2}; /* The chunk dimesion sizes */
+ hsize_t chunk_dims[2] = {5, 2}; /* The chunk dimension sizes */
TESTING("H5Fget/set_append_flush() for a chunked dataset's access property list");
@@ -4498,7 +4498,7 @@ test_append_flush_dataset_multiple(hid_t in_fapl)
hsize_t dims[2] = {0, 0}; /* The dataset dimension sizes */
hsize_t maxdims[2] = {H5S_UNLIMITED, H5S_UNLIMITED}; /* The dataset maximum dimension sizes */
- hsize_t chunk_dims[2] = {5, 2}; /* The chunk dimesion sizes */
+ hsize_t chunk_dims[2] = {5, 2}; /* The chunk dimension sizes */
TESTING("H5Fget/set_append_flush() for multiple opens of a chunked dataset");
diff --git a/test/tfile.c b/test/tfile.c
index 8c1ea8d..7eed105 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -2602,7 +2602,7 @@ test_file_double_file_dataset_open(hbool_t new_format)
hsize_t e_ext_dims[1] = {7}; /* Expanded dimension sizes */
hsize_t s_ext_dims[1] = {3}; /* Shrunk dimension sizes */
hsize_t max_dims0[1] = {8}; /* Maximum dimension sizes */
- hsize_t max_dims1[1] = {H5S_UNLIMITED}; /* Maximum dimesion sizes for extensible array index */
+ hsize_t max_dims1[1] = {H5S_UNLIMITED}; /* Maximum dimension sizes for extensible array index */
hsize_t max_dims2[2] = {H5S_UNLIMITED, H5S_UNLIMITED}; /* Maximum dimension sizes for v2 B-tree index */
hsize_t chunks[1] = {2}, chunks2[2] = {4, 5}; /* Chunk dimension sizes */
hsize_t size; /* File size */
diff --git a/test/tselect.c b/test/tselect.c
index a7d9f8e..3c6f4bb 100644
--- a/test/tselect.c
+++ b/test/tselect.c
@@ -11325,7 +11325,7 @@ test_shape_same_dr__checkerboard(int test_num, int small_rank, int large_rank, i
/* Now select the checkerboard selection in the (possibly larger) n-cube.
*
* Since we have already calculated the base start, stride, count,
- * and block, re-use the values in setting up start, stride, count,
+ * and block, reuse the values in setting up start, stride, count,
* and block.
*/
for (i = 0; i < SS_DR_MAX_RANK; i++) {
@@ -12766,7 +12766,7 @@ test_space_update_diminfo(void)
{
hid_t space_id; /* Dataspace id */
H5S_diminfo_valid_t diminfo_valid; /* Diminfo status */
- H5S_diminfo_valid_t rebuild_status; /* Diminfo status after rebuid */
+ H5S_diminfo_valid_t rebuild_status; /* Diminfo status after rebuild */
H5S_sel_type sel_type; /* Selection type */
herr_t ret; /* Return value */