#!/bin/sh # Run a test whose source and data files are located in the ../tests/ directory. srcdir="$srcdir/../tests" abs_srcdir="$abs_srcdir/../tests" USE_SYSTEM_LIBINTL=yes export srcdir abs_srcdir USE_SYSTEM_LIBINTL testname=`echo "$1" | sed 's,^.*/,,'` shift exec /bin/sh "$srcdir/$testname" "$@"