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