sys_ioctl: Simplify.
[gnulib.git] / tests / test-vdprintf-posix.sh
blob8dd2336f7f83c93bf131e1d65e03a70dfdcdaa3f
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 ${CHECKER} ./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