diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2012-04-01 19:25:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2012-04-01 19:25:41 (GMT) |
commit | cb28551c3e3761347a371f9c55f1cde2a892b874 (patch) | |
tree | 7835548b4efda7c5820fa2d720bde2c56282e803 /tools/h5repack | |
parent | 8123f8221a0ba358d8a371c3ce43f2a1f931b55a (diff) | |
download | hdf5-cb28551c3e3761347a371f9c55f1cde2a892b874.zip hdf5-cb28551c3e3761347a371f9c55f1cde2a892b874.tar.gz hdf5-cb28551c3e3761347a371f9c55f1cde2a892b874.tar.bz2 |
[svn-r22221] Description:
Small code cleanup while tracking down h5repack issue.
Tested on:
Mac OSX/64 10.7.3 (amazon) w/debug
(h5committest coming up)
Diffstat (limited to 'tools/h5repack')
-rw-r--r-- | tools/h5repack/h5repacktst.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/h5repack/h5repacktst.c b/tools/h5repack/h5repacktst.c index 5c6f87b..fe8f847 100644 --- a/tools/h5repack/h5repacktst.c +++ b/tools/h5repack/h5repacktst.c @@ -1575,7 +1575,7 @@ int main (void) /* size of the output file. */ if(h5repack(FNAME1, FNAME1OUT, &pack_options) < 0) GOERROR; - if (HDstat(FNAME1OUT, &file_stat) < 0) + if(HDstat(FNAME1OUT, &file_stat) < 0) GOERROR; fsize1 = file_stat.st_size; /* run it again with metadata option */ @@ -1584,12 +1584,12 @@ int main (void) GOERROR; if(h5diff(FNAME1, FNAME1OUT, NULL, NULL, &diff_options) > 0) GOERROR; + if(h5repack_verify(FNAME1, FNAME1OUT, &pack_options) <= 0) + GOERROR; /* record the file size of the output file */ - if (HDstat(FNAME1OUT, &file_stat) < 0) + if(HDstat(FNAME1OUT, &file_stat) < 0) GOERROR; fsize2 = file_stat.st_size; - if(h5repack_verify(FNAME1, FNAME1OUT, &pack_options) <= 0) - GOERROR; /* verify second file size is larger than the first one */ if(fsize2 <= fsize1) GOERROR; |