From 81a6f5be7c85fcc188c51fb1e211710434f00a93 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Wed, 23 Jan 2013 10:16:14 -0500 Subject: [svn-r23195] Compares without end of file newlines Tested: duck --- tools/h5dump/testh5dump.sh.in | 4 ++-- 1 file 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" -- cgit v0.12