Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
9491f55c
Commit
9491f55c
authored
Sep 07, 2006
by
Ian Lynagh
Browse files
Remove trailing CRs with sed rather than relying on diff in nofib
Some diffs don't understand --strip-trailing-cr.
parent
5d7b5573
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/runstdtest/runstdtest.prl
View file @
9491f55c
...
...
@@ -223,7 +223,7 @@ else
$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
...
...
@@ -249,7 +249,7 @@ fi
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment