Mercurial > hg > octave-nkf > gnulib-hg
view tests/test-printf-posix.sh @ 11949:245de403ed19
link-follow: fix logic bug in prior patch
* m4/link-follow.m4 (gl_FUNC_LINK_FOLLOWS_SYMLINK): Fix bug that
reversed sense of yes and no in prior patch. Avoid confusing
compilation failure with desired semantics.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Fri, 04 Sep 2009 15:40:22 -0600 |
parents | b6ae7b58fba1 |
children |
line wrap: on
line source
#!/bin/sh tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles t-printf-posix.tmp t-printf-posix.out" ./test-printf-posix${EXEEXT} > t-printf-posix.tmp || exit 1 LC_ALL=C tr -d '\r' < t-printf-posix.tmp > t-printf-posix.out || exit 1 : ${DIFF=diff} ${DIFF} "${srcdir}/test-printf-posix.output" t-printf-posix.out result=$? rm -fr $tmpfiles exit $result