Mercurial > gnulib
view tests/test-vdprintf-posix.sh @ 40174:b76c7bdde2bf
*-map tests: Fix compilation error.
* tests/test-array_map.c: Include <limits.h>, for CHAR_BIT.
* tests/test-hash_map.c: Likewise.
* tests/test-linkedhash_map.c: Likewise.
author | Colin Watson <cjwatson@debian.org> |
---|---|
date | Sat, 02 Feb 2019 16:12:09 +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