view tests/test-vdprintf-posix.sh @ 17960:1c04e5182252

git-version-gen: revert "detect untagged revisions" Revert commit bedd7833 as it breaks `make dist` in Inetutils at least, due to the interdependencies with top/GNUMakefile, which depend on the tag prefixes. This results in `make dist` inducing a new call to autoconf where a simple tar-ball build would be expected.
author Mats Erik Andersson <mats.andersson@gisladisker.se>
date Tue, 14 Apr 2015 21:25:59 +0100
parents c1aeb2f8dd65
children
line wrap: on
line source

#!/bin/sh

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

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

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

rm -fr $tmpfiles

exit $result