summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/test/misc/testh5mkgrp.sh.in5
-rw-r--r--tools/test/misc/testh5repart.sh.in2
2 files changed, 2 insertions, 5 deletions
diff --git a/tools/test/misc/testh5mkgrp.sh.in b/tools/test/misc/testh5mkgrp.sh.in
index 83ffe16..9252934 100644
--- a/tools/test/misc/testh5mkgrp.sh.in
+++ b/tools/test/misc/testh5mkgrp.sh.in
@@ -32,7 +32,7 @@ H5LS_ARGS=-vr # Arguments to the h5ls tool
H5LS_BIN=`pwd`/$H5LS # The path of the h5ls tool binary
RM='rm -rf'
-CMP='cmp'
+CMP='cmp -s'
DIFF='diff -c'
CP='cp'
DIRNAME='dirname'
@@ -62,9 +62,6 @@ test -d $TESTDIR || mkdir -p $TESTDIR
# Comment '#' without space can be used.
# --------------------------------------------------------------------
-CMP='cmp -s'
-DIFF='diff -c'
-
#
# copy test files and expected output files from source dirs to test dir
#
diff --git a/tools/test/misc/testh5repart.sh.in b/tools/test/misc/testh5repart.sh.in
index 429e65e..2106a1d 100644
--- a/tools/test/misc/testh5repart.sh.in
+++ b/tools/test/misc/testh5repart.sh.in
@@ -28,7 +28,7 @@ REPARTED_FAM=repart_test # The test name
REPARTED_FAM_BIN=`pwd`/$REPARTED_FAM # The path of the test binary
RM='rm -rf'
-CMP='cmp'
+CMP='cmp -s'
DIFF='diff -c'
CP='cp'
DIRNAME='dirname'