view tests/test-vfprintf-posix.sh @ 8438:238942284e2f

Allow the use of a destructor for the values stored in the list.
author Bruno Haible <bruno@clisp.org>
date Fri, 16 Mar 2007 00:30:06 +0000
parents 744a1a36452c
children 3cc3021f2aba
line wrap: on
line source

#!/bin/sh

tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15

tmpfiles="$tmpfiles t-vfprintf-posix.tmp"
./test-vfprintf-posix${EXEEXT} > t-vfprintf-posix.tmp || exit 1

: ${DIFF=diff}
${DIFF} "${srcdir}/test-fprintf-posix.out" t-vfprintf-posix.tmp
result=$?

rm -fr $tmpfiles

exit $result