diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2020-10-24 13:05:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-24 13:05:13 (GMT) |
commit | 313a8c8546b3b975fba722b015c8c8269dd240cb (patch) | |
tree | abbc9530d2a1460110e6b41af9de071deb66ead0 /test/dtypes.c | |
parent | 2c3cf8240f45508dea02cab08fa67c2a775cab58 (diff) | |
parent | 2ae59f1c6199c62d6efeb43f91924e06f1fd6248 (diff) | |
download | hdf5-313a8c8546b3b975fba722b015c8c8269dd240cb.zip hdf5-313a8c8546b3b975fba722b015c8c8269dd240cb.tar.gz hdf5-313a8c8546b3b975fba722b015c8c8269dd240cb.tar.bz2 |
Merge pull request #59 from derobins/trivial/HDprefix
HD prefix updates in src/ and test/
Diffstat (limited to 'test/dtypes.c')
-rw-r--r-- | test/dtypes.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/dtypes.c b/test/dtypes.c index bb9bb2e..184c099 100644 --- a/test/dtypes.c +++ b/test/dtypes.c @@ -1891,7 +1891,7 @@ test_compound_9(void) goto error; } /* end if */ - if (rdata.i1 != wdata.i1 || rdata.i2 != wdata.i2 || strcmp(rdata.str, wdata.str)) { + if (rdata.i1 != wdata.i1 || rdata.i2 != wdata.i2 || HDstrcmp(rdata.str, wdata.str)) { H5_FAILED(); AT(); HDprintf("incorrect read data\n"); @@ -2097,7 +2097,7 @@ test_compound_10(void) t1 = rdata[i].text.p; t2 = wdata[i].text.p; - if (strcmp((char *)t1, (char *)t2)) { + if (HDstrcmp((char *)t1, (char *)t2)) { H5_FAILED(); AT(); HDprintf("incorrect VL read data\n"); @@ -2502,7 +2502,7 @@ test_compound_12(void) H5E_END_TRY; if (ret >= 0) { H5_FAILED(); - puts(" Tries to cut off the last member. Should have failed."); + HDputs(" Tries to cut off the last member. Should have failed."); goto error; } @@ -3054,7 +3054,7 @@ test_compound_14(void) goto error; } /* end if */ - if (rdata1.c1 != wdata1.c1 || rdata1.c2 != wdata1.c2 || strcmp(rdata1.str, wdata1.str)) { + if (rdata1.c1 != wdata1.c1 || rdata1.c2 != wdata1.c2 || HDstrcmp(rdata1.str, wdata1.str)) { H5_FAILED(); AT(); HDprintf("incorrect read data\n"); @@ -3885,7 +3885,7 @@ test_query(void) HDprintf("Can't get name for enum member\n"); goto error; } /* end if */ - if (strcmp("YELLOW", enum_name)) { + if (HDstrcmp("YELLOW", enum_name)) { H5_FAILED(); HDprintf("Incorrect name for enum member\n"); goto error; |