Mercurial > hg > octave-kai > gnulib-hg
view tests/test-tsearch.sh @ 10262:fac686211d81
vc-list-files: make the last-resort awk code more portable
* build-aux/vc-list-files: Don't rely on awk's "sub" command.
/bin/awk from OpenSolaris 11's SUNWesu version 2008.03.22.10.56
does not support it.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Fri, 11 Jul 2008 19:32:46 +0200 |
parents | 342c23c60847 |
children |
line wrap: on
line source
#!/bin/sh tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles t-tsearch.out" ./test-tsearch${EXEEXT} > t-tsearch.out 2>&1 test $? = 0 || { cat t-tsearch.out 1>&2; rm -f $tmpfiles; exit 1; } rm -f $tmpfiles exit 0