projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93db199
)
Strip trailing CRs when comparing output for nofib. Fixes #797.
author
Ian Lynagh
<igloo@earth.li>
Tue, 5 Sep 2006 18:49:10 +0000
(18:49 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Tue, 5 Sep 2006 18:49:10 +0000
(18:49 +0000)
utils/runstdtest/runstdtest.prl
patch
|
blob
|
history
diff --git
a/utils/runstdtest/runstdtest.prl
b/utils/runstdtest/runstdtest.prl
index
1b1af9f
..
752e6af
100644
(file)
--- a/
utils/runstdtest/runstdtest.prl
+++ b/
utils/runstdtest/runstdtest.prl
@@
-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