Mercurial > hg > octave-shane > gnulib-hg
diff tests/test-vfprintf-posix.sh @ 8393:744a1a36452c
Tests for module 'vfprintf-posix'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 09 Mar 2007 02:43:32 +0000 (2007-03-09) |
parents | |
children | 3cc3021f2aba |
line wrap: on
line diff
new file mode 100755 --- /dev/null +++ b/tests/test-vfprintf-posix.sh @@ -0,0 +1,15 @@ +#!/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