Re-work the test suite so it now works with Automake (via "make check").
[mmh] / test / inc / test-deb359167
old mode 100644 (file)
new mode 100755 (executable)
similarity index 85%
rename from test/tests/inc/test-deb359167
rename to test/inc/test-deb359167
index ef0abc8..26aea11
@@ -2,9 +2,11 @@
 # Test a variant of a mailbox which caused debian bug 359167.
 set -e
 
-. $MH_TEST_COMMON
+. ${MH_TEST_COMMON}
 
-THISDIR="tests/inc"
+setup_test
+
+THISDIR="${srcdir}/test/inc"
 
 require_prog valgrind