Mercurial > hg > octave-jordi > gnulib-hg
view tests/test-vfprintf-posix.sh @ 10010:d26ac8a528f7
Enable gnulib's <arpa/inet.h> replacement also when inet_ntop or inet_pton need to be declared.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 29 Apr 2008 13:37:51 +0200 |
parents | b6ae7b58fba1 |
children |
line wrap: on
line source
#!/bin/sh tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles t-vfprintf-posix.tmp t-vfprintf-posix.out" ./test-vfprintf-posix${EXEEXT} > t-vfprintf-posix.tmp || exit 1 LC_ALL=C tr -d '\r' < t-vfprintf-posix.tmp > t-vfprintf-posix.out || exit 1 : ${DIFF=diff} ${DIFF} "${srcdir}/test-printf-posix.output" t-vfprintf-posix.out result=$? rm -fr $tmpfiles exit $result