summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-10-05 19:32:45 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-10-05 19:32:45 (GMT)
commit2744238c875aa5b064eb3436df143a80146ae93a (patch)
treefc7a34b075a9967f680a4d8009b9d9e94fd61958 /tools
parentd40fc11656f852e163dd6a640e513360e1c79179 (diff)
downloadhdf5-2744238c875aa5b064eb3436df143a80146ae93a.zip
hdf5-2744238c875aa5b064eb3436df143a80146ae93a.tar.gz
hdf5-2744238c875aa5b064eb3436df143a80146ae93a.tar.bz2
Cleanup comments in tests, align comments better, update vfd test
Diffstat (limited to 'tools')
-rw-r--r--tools/test/h5repack/h5repack.sh.in2
-rw-r--r--tools/test/h5repack/h5repacktst.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/test/h5repack/h5repack.sh.in b/tools/test/h5repack/h5repack.sh.in
index 18e6d86..a95a22e 100644
--- a/tools/test/h5repack/h5repack.sh.in
+++ b/tools/test/h5repack/h5repack.sh.in
@@ -689,7 +689,7 @@ DIFFFAIL()
$RUNSERIAL $H5DIFF_BIN -q "$@"
)
RET=$?
- if [ $RET == 0 ] ; then
+ if [ $RET -eq 0 ] ; then
echo "*FAILED*"
nerrors="`expr $nerrors + 1`"
else
diff --git a/tools/test/h5repack/h5repacktst.c b/tools/test/h5repack/h5repacktst.c
index ea9ded1..85af344 100644
--- a/tools/test/h5repack/h5repacktst.c
+++ b/tools/test/h5repack/h5repacktst.c
@@ -3292,8 +3292,6 @@ make_layout2(hid_t loc_id)
if (make_dset(loc_id, CHUNKED_S_FIX, s_sid, chunked_dcpl, s_buf[0]) < 0)
goto error;
- HDfree(s_buf);
-
ret_value = 0;
error: