Mercurial > gnulib
view tests/test-vprintf-posix.sh @ 39186:c1c789fe74ad
spawn-pipe: Silence a clang warning.
Reported by Tim Rühsen <tim.ruehsen@gmx.de>.
* lib/spawn-pipe.c: Disable clang -Wconditional-uninitialized warnings
in this file.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 15 Dec 2017 10:44:15 +0100 |
parents | 42d9f04bcc55 |
children | 8c1a17df67e0 |
line wrap: on
line source
#!/bin/sh tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles t-vprintf-posix.tmp t-vprintf-posix.out" ./test-vprintf-posix${EXEEXT} > t-vprintf-posix.tmp || exit 1 LC_ALL=C tr -d '\r' < t-vprintf-posix.tmp > t-vprintf-posix.out || exit 1 : ${DIFF=diff} ${DIFF} "${srcdir}/test-printf-posix.output" t-vprintf-posix.out result=$? rm -fr $tmpfiles exit $result