summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2012-04-01 19:25:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2012-04-01 19:25:41 (GMT)
commitcb28551c3e3761347a371f9c55f1cde2a892b874 (patch)
tree7835548b4efda7c5820fa2d720bde2c56282e803 /tools
parent8123f8221a0ba358d8a371c3ce43f2a1f931b55a (diff)
downloadhdf5-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')
-rw-r--r--tools/h5repack/h5repacktst.c8
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;