Mercurial > hg > octave-jordi > gnulib-hg
view tests/test-fprintf-posix.sh @ 13082:d7eed0b7ef06
Split C++ tests into separate tests modules.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 28 Mar 2010 19:07:33 +0200 |
parents | b6ae7b58fba1 |
children |
line wrap: on
line source
#!/bin/sh tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles t-fprintf-posix.tmp t-fprintf-posix.out" ./test-fprintf-posix${EXEEXT} > t-fprintf-posix.tmp || exit 1 LC_ALL=C tr -d '\r' < t-fprintf-posix.tmp > t-fprintf-posix.out || exit 1 : ${DIFF=diff} ${DIFF} "${srcdir}/test-printf-posix.output" t-fprintf-posix.out result=$? rm -fr $tmpfiles exit $result