view tests/test-tsearch.sh @ 8534:342c23c60847

Tests for module 'tsearch'.
author Bruno Haible <bruno@clisp.org>
date Sun, 25 Mar 2007 02:48:08 +0000
parents
children 8c1a17df67e0
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