blob: 1431271be0a7f382c6d5f3f0c168fd6085c723f3 [file] [log] [blame]
#!/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" "$@"