X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-printf-posix.sh;h=a81234509e33a742ea62f07cfb448310e935380f;hb=ca6143b425589c3a64bd28efd7af14463f96d576;hp=29ab6f0a55ee9841adae4329d10a1a3e6f6574f1;hpb=85837d615fc0c092e5ed920e6be187ade121ba39;p=gnulib.git diff --git a/tests/test-printf-posix.sh b/tests/test-printf-posix.sh index 29ab6f0a5..a81234509 100755 --- a/tests/test-printf-posix.sh +++ b/tests/test-printf-posix.sh @@ -3,11 +3,12 @@ tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 -tmpfiles="$tmpfiles t-printf-posix.tmp" +tmpfiles="$tmpfiles t-printf-posix.tmp t-printf-posix.out" ./test-printf-posix${EXEEXT} > t-printf-posix.tmp || exit 1 +LC_ALL=C tr -d '\r' < t-printf-posix.tmp > t-printf-posix.out || exit 1 : ${DIFF=diff} -${DIFF} "${srcdir}/test-printf-posix.output" t-printf-posix.tmp +${DIFF} "${srcdir}/test-printf-posix.output" t-printf-posix.out result=$? rm -fr $tmpfiles