error: Avoid "function declaration isn't a prototype" warning.
[gnulib.git] / tests / test-vdprintf-posix.sh
blob558c41d07e05c702d7d1f16704ae57016412b445
1 #!/bin/sh
3 tmpfiles=""
4 trap 'rm -fr $tmpfiles' 1 2 3 15
6 tmpfiles="$tmpfiles t-vdprintf-posix.tmp t-vdprintf-posix.out"
7 ./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