summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_bigset_writer.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-03-23 13:48:05 (GMT)
committerGitHub <noreply@github.com>2022-03-23 13:48:05 (GMT)
commitfbb532cd633e216f47ce846493b38af02cfbb43a (patch)
tree1ef7bc9f25ec0832f8b25bb8ea4be34d53bd144d /test/vfd_swmr_bigset_writer.c
parent78375882485a99a81caa933928ed08d7a38ef88b (diff)
downloadhdf5-fbb532cd633e216f47ce846493b38af02cfbb43a.zip
hdf5-fbb532cd633e216f47ce846493b38af02cfbb43a.tar.gz
hdf5-fbb532cd633e216f47ce846493b38af02cfbb43a.tar.bz2
VFD SWMR: Normalization with develop (#1506)
* Brought over plugin and test script changes * Removes remaining register keywords (#1481) * Fixed warnings in the aux process code * Minor fixes from develop * Minor changes from develop, fixed format warnings * Formatted source * Added HD prefix to timespec_get * Cleanup in new files * Removes the MANIFEST file and unused release files (#1497) * Removes the MANIFEST file and unused release files * Updated tar command * checkposix corrections * More checkposix fixes * Ripped out unused instrumentation functionality * Brought over cache tagging changes from develop * Changes to tagged metadata expulsion iteration * Fixed typo * Brought over H5O__free() changes from develop * Brings (unused) parallel page buffer test in line with develop * Moved the functionality in supervise.subr to test_vfd_swmr.sh * Tools VFD parameter updates * Committing clang-format changes * H5F VFD SWMR refactoring * Committing clang-format changes * Misc changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/vfd_swmr_bigset_writer.c')
-rw-r--r--test/vfd_swmr_bigset_writer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/vfd_swmr_bigset_writer.c b/test/vfd_swmr_bigset_writer.c
index 357c3b1..3540c61 100644
--- a/test/vfd_swmr_bigset_writer.c
+++ b/test/vfd_swmr_bigset_writer.c
@@ -289,7 +289,7 @@ usage(const char *progname)
"-w deflate_level: the level (0 - 9) of gzip compression\n"
"\n",
progname);
- exit(EXIT_FAILURE);
+ HDexit(EXIT_FAILURE);
}
static bool
@@ -382,10 +382,10 @@ state_init(state_t *s, int argc, char **argv)
s->use_named_pipe = false;
break;
case 'd':
- if (strcmp(optarg, "1") == 0 || strcmp(optarg, "one") == 0)
+ if (HDstrcmp(optarg, "1") == 0 || HDstrcmp(optarg, "one") == 0)
s->expand_2d = false;
- else if (strcmp(optarg, "2") == 0 || strcmp(optarg, "two") == 0 ||
- strcmp(optarg, "both") == 0)
+ else if (HDstrcmp(optarg, "2") == 0 || HDstrcmp(optarg, "two") == 0 ||
+ HDstrcmp(optarg, "both") == 0)
s->expand_2d = true;
else {
HDfprintf(stderr, "bad -d argument %s\n", optarg);
@@ -496,7 +496,7 @@ state_init(state_t *s, int argc, char **argv)
#ifdef H5_HAVE_AUX_PROCESS
if (s->vds == vds_multi)
- exit(EXIT_SUCCESS);
+ HDexit(EXIT_SUCCESS);
#endif
if (s->vds != vds_off && s->expand_2d) {
@@ -2703,7 +2703,7 @@ main(int argc, char **argv)
/* Start to write chunks. The writer writes as many chunks as possible within a tick, then
* notify the reader. But it doesn't receive back the reader's notice. */
if (!write_dsets(s, &np, mat)) {
- fprintf(stderr, "write_dsets failed");
+ HDfprintf(stderr, "write_dsets failed");
TEST_ERROR;
}
}