X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fcxx-demo.sh;h=97a46ce0027913fd1e68837f73bfd59dbda90412;hb=a7c00e1935726a32dca6871dd0f1b7eda28d0a5b;hp=f872c43e2558f3b3af6ffa3d3807cf4338ea280f;hpb=0d9399f1efe69864f3295ada6325b14d953149c2;p=platform%2Fupstream%2Fautomake.git diff --git a/t/cxx-demo.sh b/t/cxx-demo.sh index f872c43..97a46ce 100644 --- a/t/cxx-demo.sh +++ b/t/cxx-demo.sh @@ -165,7 +165,11 @@ END Good morning, work. END for p in play work; do - # Strip CR characters catering to MinGW programs on MSYS. + # The program must run correctly (exit status = 0). + ./$p + # And it must have the expected output. Note that we strip extra + # CR characters (if any), to cater to MinGW programs on MSYS. + # See automake bug#14493. ./$p | tr -d '\015' > got.$p || { cat got.$p; exit 1; } cat exp.$p cat got.$p