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