summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-15 16:10:15 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-15 16:10:15 (GMT)
commitb353fb8b5a51f8ba853df9512d7ab57e66f86395 (patch)
treebe5b09a1593920153b1cbd1e14ae6a00d1f342ce /tools/h5repack
parent122b938cbf1a48a384cda69b0943489afa0f2dca (diff)
downloadhdf5-b353fb8b5a51f8ba853df9512d7ab57e66f86395.zip
hdf5-b353fb8b5a51f8ba853df9512d7ab57e66f86395.tar.gz
hdf5-b353fb8b5a51f8ba853df9512d7ab57e66f86395.tar.bz2
[svn-r15871] Eliminate -c option and make that behavior the default and return 2 instead of -1 on error status
Tested: windows, linux
Diffstat (limited to 'tools/h5repack')
-rwxr-xr-xtools/h5repack/h5repack.sh.in4
-rw-r--r--tools/h5repack/h5repacktst.c3
2 files changed, 2 insertions, 5 deletions
diff --git a/tools/h5repack/h5repack.sh.in b/tools/h5repack/h5repack.sh.in
index 72e4414..422c8dd 100755
--- a/tools/h5repack/h5repack.sh.in
+++ b/tools/h5repack/h5repack.sh.in
@@ -93,9 +93,9 @@ DIFFTEST()
{
VERIFY $@
if [ "`uname -s`" = "TFLOPS O/S" ]; then
- $RUNSERIAL $H5DIFF_BIN -q -c $@
+ $RUNSERIAL $H5DIFF_BIN -q $@
else
- $RUNSERIAL $H5DIFF_BIN -q -c "$@"
+ $RUNSERIAL $H5DIFF_BIN -q "$@"
fi
RET=$?
if [ $RET != 0 ] ; then
diff --git a/tools/h5repack/h5repacktst.c b/tools/h5repack/h5repacktst.c
index c74866a..d10bc25 100644
--- a/tools/h5repack/h5repacktst.c
+++ b/tools/h5repack/h5repacktst.c
@@ -156,9 +156,6 @@ int main (void)
memset(&diff_options, 0, sizeof (diff_opt_t));
memset(&pack_options, 0, sizeof (pack_opt_t));
- /* set h5diff "contents" mode */
- diff_options.m_contents = 1;
-
/* run tests */
puts("Testing h5repack:");