Commit 3c604148 authored by Ian Lynagh's avatar Ian Lynagh

Strip trailing CRs when comparing output for nofib. Fixes #797.

parent 93db1991
......@@ -223,7 +223,7 @@ else
$PostScriptLines
hit='NO'
for out_file in @PgmStdoutFile ; do
if cmp -s \$out_file $TmpPrefix/runtest$$.1 ; then
if diff --strip-trailing-cr \$out_file $TmpPrefix/runtest$$.1 > /dev/null 2>&1 ; then
hit='YES'
fi
done
......@@ -249,7 +249,7 @@ fi
hit='NO'
for out_file in @PgmStderrFile ; do
if cmp -s \$out_file $TmpPrefix/runtest$$.2 ; then
if diff --strip-trailing-cr \$out_file $TmpPrefix/runtest$$.2 > /dev/null 2>&1 ; then
hit='YES'
fi
done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment