diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-10-05 20:39:48 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-10-05 20:39:48 (GMT) |
commit | ad5710ef668322c241df1442c335bfc7f09b5184 (patch) | |
tree | 68ffb8ccae43127726e3a28a2b1a7a713755e0a3 /tools/test | |
parent | 0736dcbfafa4c69625dfb2d3363443e223b844b2 (diff) | |
download | hdf5-ad5710ef668322c241df1442c335bfc7f09b5184.zip hdf5-ad5710ef668322c241df1442c335bfc7f09b5184.tar.gz hdf5-ad5710ef668322c241df1442c335bfc7f09b5184.tar.bz2 |
h5repacktest VFD fix and formatting changes
Diffstat (limited to 'tools/test')
-rw-r--r-- | tools/test/h5repack/h5repack.sh.in | 2 | ||||
-rw-r--r-- | tools/test/h5repack/h5repacktst.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/test/h5repack/h5repack.sh.in b/tools/test/h5repack/h5repack.sh.in index 431f959..5e5b09c 100644 --- a/tools/test/h5repack/h5repack.sh.in +++ b/tools/test/h5repack/h5repack.sh.in @@ -683,7 +683,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 b80ec32..42233a2 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: |