##
## nmh _does_ have a test suite!
##
-
-TESTS_ENVIRONMENT = MH_OBJ_DIR=@abs_srcdir@ \
- MH_TEST_DIR=@abs_srcdir@/test/testdir \
+TESTS_ENVIRONMENT = MH_OBJ_DIR=@abs_builddir@ \
+ MH_TEST_DIR=@abs_builddir@/test/testdir \
auxexecdir=$(auxexecdir) bindir=$(bindir) \
mandir=$(mandir) sysconfdir=$(sysconfdir)
##
setup_test
-THISDIR="${MH_OBJ_DIR}/test/inc"
-
require_prog valgrind
+THISDIR="`dirname $0`"
TESTMBOX="$THISDIR/deb359167.mbox"
if [ "$(output_md5 "$TESTMBOX" | cut -d ' ' -f 1)" != "e6ac458b8cccba2b2fd866fb505aeb5e" ]; then