diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2021-04-09 14:07:53 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2021-04-09 14:07:53 (GMT) |
commit | ee655cf374c5f2b2f43673a9e1d925af0f231626 (patch) | |
tree | b17b2677e8536ac0a2b26327981363b943577f15 /test/istore.c | |
parent | 94ecd14100c226ae16ba8e6122e8a025b408f360 (diff) | |
download | hdf5-ee655cf374c5f2b2f43673a9e1d925af0f231626.zip hdf5-ee655cf374c5f2b2f43673a9e1d925af0f231626.tar.gz hdf5-ee655cf374c5f2b2f43673a9e1d925af0f231626.tar.bz2 |
Brings a lot of smaller changes from develop
Diffstat (limited to 'test/istore.c')
-rw-r--r-- | test/istore.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/istore.c b/test/istore.c index a72743d..192e184 100644 --- a/test/istore.c +++ b/test/istore.c @@ -11,7 +11,7 @@ * help@hdfgroup.org. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -/* Programmer: Robb Matzke <matzke@llnl.gov> +/* Programmer: Robb Matzke * Wednesday, October 15, 1997 * * Purpose: Tests various aspects of indexed raw data storage. @@ -375,7 +375,7 @@ test_extend(hid_t f, const char *prefix, size_t nx, size_t ny, size_t nz) HDfprintf(stderr, " Read failed: ctr=%lu\n", (unsigned long)ctr); goto error; } - if (HDmemcmp(buf, check, (size_t)nelmts)) { + if (HDmemcmp(buf, check, (size_t)nelmts) != 0) { H5_FAILED(); HDfprintf(stderr, " Read check failed: ctr=%lu\n", (unsigned long)ctr); HDfprintf(stderr, " Wrote:\n"); @@ -617,13 +617,13 @@ main(int argc, char *argv[]) else { int i; for (i = 1, size_of_test = 0; i < argc; i++) { - if (!strcmp(argv[i], "small")) { + if (!HDstrcmp(argv[i], "small")) { size_of_test |= TEST_SMALL; } - else if (!strcmp(argv[i], "medium")) { + else if (!HDstrcmp(argv[i], "medium")) { size_of_test |= TEST_MEDIUM; } - else if (!strcmp(argv[i], "large")) { + else if (!HDstrcmp(argv[i], "large")) { size_of_test |= TEST_LARGE; } else { |