view tests/test-vfprintf-posix.sh @ 40197:91454190d749

relocatable-prog: Update documentation. * doc/relocatable-maint.texi (Supporting Relocation): Mention GNU/Hurd and GNU/kFreeBSD as well.
author Bruno Haible <bruno@clisp.org>
date Sun, 24 Feb 2019 01:52:19 +0100
parents b6ae7b58fba1
children 8c1a17df67e0
line wrap: on
line source

#!/bin/sh

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

tmpfiles="$tmpfiles t-vfprintf-posix.tmp t-vfprintf-posix.out"
./test-vfprintf-posix${EXEEXT} > t-vfprintf-posix.tmp || exit 1
LC_ALL=C tr -d '\r' < t-vfprintf-posix.tmp > t-vfprintf-posix.out || exit 1

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

rm -fr $tmpfiles

exit $result