summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-01-23 15:16:14 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-01-23 15:16:14 (GMT)
commit81a6f5be7c85fcc188c51fb1e211710434f00a93 (patch)
treee54fd985b520dfa12b765b54b1b62f05065c0127 /tools
parent5650be2d1a2cb514355706d0ccdfd43519244a0e (diff)
downloadhdf5-81a6f5be7c85fcc188c51fb1e211710434f00a93.zip
hdf5-81a6f5be7c85fcc188c51fb1e211710434f00a93.tar.gz
hdf5-81a6f5be7c85fcc188c51fb1e211710434f00a93.tar.bz2
[svn-r23195] Compares without end of file newlines
Tested: duck
Diffstat (limited to 'tools')
-rw-r--r--tools/h5dump/testh5dump.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5dump/testh5dump.sh.in b/tools/h5dump/testh5dump.sh.in
index d3270d7..5c269ae 100644
--- a/tools/h5dump/testh5dump.sh.in
+++ b/tools/h5dump/testh5dump.sh.in
@@ -31,7 +31,7 @@ H5IMPORT=../h5import/h5import # The h5import tool name
H5IMPORT_BIN=`pwd`/$H5IMPORT # The path of the h5import tool binary
-CMP='cmp -s'
+CMP='diff -qb' # Compares without end of file newlines
DIFF='diff -c'
CP='cp'
DIRNAME='dirname'
@@ -530,7 +530,7 @@ TOOLTEST2A() {
# Create the expect data file if it doesn't yet exist.
echo " CREATED"
cp $actualdata $expectdata
- elif $CMP $expectdata $actualdata; then
+ elif $DIFF $expectdata $actualdata; then
if [ ! -f $expectmeta ]; then
# Create the expect meta file if it doesn't yet exist.
echo " CREATED"