reduced verbosity and better debugging.
[gnutls.git] / gl / tests / test-vprintf-posix.sh
blob968a8b2a8d0c6b4ce622ff70f0fa39a041cf927f
1 #!/bin/sh
3 tmpfiles=""
4 trap 'rm -fr $tmpfiles' 1 2 3 15
6 tmpfiles="$tmpfiles t-vprintf-posix.tmp t-vprintf-posix.out"
7 ./test-vprintf-posix${EXEEXT} > t-vprintf-posix.tmp || exit 1
8 LC_ALL=C tr -d '\r' < t-vprintf-posix.tmp > t-vprintf-posix.out || exit 1
10 : ${DIFF=diff}
11 ${DIFF} "${srcdir}/test-printf-posix.output" t-vprintf-posix.out
12 result=$?
14 rm -fr $tmpfiles
16 exit $result