gettext: Sync with gettext 0.23.
[gnulib.git] / tests / test-vdprintf-posix.sh
blob7fcfd50fac0455a27097f663ac437149f2761604
1 #!/bin/sh
3 tmpfiles=""
4 trap 'rm -fr $tmpfiles' HUP INT QUIT TERM
6 tmpfiles="$tmpfiles t-vdprintf-posix.tmp t-vdprintf-posix.out"
7 ${CHECKER} ./test-vdprintf-posix${EXEEXT} > t-vdprintf-posix.tmp || exit 1
8 LC_ALL=C tr -d '\r' < t-vdprintf-posix.tmp > t-vdprintf-posix.out || exit 1
10 : "${DIFF=diff}"
11 ${DIFF} "${srcdir}/test-printf-posix.output" t-vdprintf-posix.out
12 result=$?
14 rm -fr $tmpfiles
16 exit $result