projects
/
platform
/
upstream
/
automake.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eefd01b
)
tests: avoid a spurious failure on MSYS
author
Peter Rosin
<peda@lysator.liu.se>
Wed, 29 May 2013 14:53:55 +0000
(16:53 +0200)
committer
Peter Rosin
<peda@lysator.liu.se>
Wed, 29 May 2013 14:53:55 +0000
(16:53 +0200)
Fixes automake bug#14493.
* t/cxx-demo.sh: Strip CR characters from the program output.
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
t/cxx-demo.sh
patch
|
blob
|
history
diff --git
a/t/cxx-demo.sh
b/t/cxx-demo.sh
index
f6d568d
..
f872c43
100644
(file)
--- a/
t/cxx-demo.sh
+++ b/
t/cxx-demo.sh
@@
-165,7
+165,8
@@
END
Good morning, work.
END
for p in play work; do
- ./$p > got.$p || { cat got.$p; exit 1; }
+ # Strip CR characters catering to MinGW programs on MSYS.
+ ./$p | tr -d '\015' > got.$p || { cat got.$p; exit 1; }
cat exp.$p
cat got.$p
diff exp.$p got.$p