diff options
author | Ian Lynagh <igloo@earth.li> | 2006-09-05 18:49:10 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2006-09-05 18:49:10 +0000 |
commit | 3c604148f96f21b27aaeacad6da461ee088a9f73 (patch) | |
tree | 292de4c2a5399ce1fb5aaf171eaba588f2f01e46 /utils/runstdtest | |
parent | 93db1991b5cacf8357493a2e17fbbfb485f3205b (diff) | |
download | haskell-3c604148f96f21b27aaeacad6da461ee088a9f73.tar.gz |
Strip trailing CRs when comparing output for nofib. Fixes #797.
Diffstat (limited to 'utils/runstdtest')
-rw-r--r-- | utils/runstdtest/runstdtest.prl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/runstdtest/runstdtest.prl b/utils/runstdtest/runstdtest.prl index 1b1af9fb4d..752e6af073 100644 --- 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 |