Mercurial > hg > octave-nkf > gnulib-hg
view tests/test-dprintf-posix.sh @ 17288:e1bf1347de53
doc: clarify -Werror
* doc/warnings.texi (warnings): -Werror is not always a bad idea;
clarify that it's intended for developers, not for ordinary builds,
and mention --enable-gcc-warnings as one possible use.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 15 Jan 2013 12:21:42 -0800 |
parents | e901ed0f1ffc |
children |
line wrap: on
line source
#!/bin/sh tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles t-dprintf-posix.tmp t-dprintf-posix.out" ./test-dprintf-posix${EXEEXT} > t-dprintf-posix.tmp || exit 1 LC_ALL=C tr -d '\r' < t-dprintf-posix.tmp > t-dprintf-posix.out || exit 1 : ${DIFF=diff} ${DIFF} "${srcdir}/test-printf-posix.output" t-dprintf-posix.out result=$? rm -fr $tmpfiles exit $result