Mercurial > gnulib
view tests/test-vdprintf-posix.sh @ 40167:c1aa6d1185ea
strtold: Add tests.
* tests/test-strtold.c: New file, based on tests/test-strtod.c.
* modules/strtold-tests: New file.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 30 Jan 2019 03:53:43 +0100 |
parents | c1aeb2f8dd65 |
children | 8c1a17df67e0 |
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