Tests for module 'vprintf-posix'.
[gnulib.git] / tests / test-vprintf-posix.sh
1 #!/bin/sh
2
3 tmpfiles=""
4 trap 'rm -fr $tmpfiles' 1 2 3 15
5
6 tmpfiles="$tmpfiles t-vprintf-posix.tmp"
7 ./test-vprintf-posix${EXEEXT} > t-vprintf-posix.tmp || exit 1
8
9 : ${DIFF=diff}
10 ${DIFF} "${srcdir}/test-fprintf-posix.out" t-vprintf-posix.tmp
11 result=$?
12
13 rm -fr $tmpfiles
14
15 exit $result