projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comments only
[ghc-hetmet.git]
/
utils
/
runstdtest
/
runstdtest.prl
diff --git
a/utils/runstdtest/runstdtest.prl
b/utils/runstdtest/runstdtest.prl
index
752e6af
..
da08173
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
$PostScriptLines
hit='NO'
for out_file in @PgmStdoutFile ; do
- if diff --strip-trailing-cr \$out_file $TmpPrefix/runtest$$.1 > /dev/null 2>&1 ; then
+ if sed "s/\\r\$//" $TmpPrefix/runtest$$.1 | cmp -s \$out_file - ; then
hit='YES'
fi
done
hit='YES'
fi
done
@@
-249,7
+249,7
@@
fi
hit='NO'
for out_file in @PgmStderrFile ; do
hit='NO'
for out_file in @PgmStderrFile ; do
- if diff --strip-trailing-cr \$out_file $TmpPrefix/runtest$$.2 > /dev/null 2>&1 ; then
+ if sed "s/\\r\$//" $TmpPrefix/runtest$$.2 | cmp -s \$out_file - ; then
hit='YES'
fi
done
hit='YES'
fi
done