]> git.marmaro.de Git - mmh/commitdiff
Here's the proper fix instead of the hack of d28ce569fe233141f86fe516878361da01c9f9cb...
authorDavid Levine <levinedl@acm.org>
Sat, 18 Feb 2012 00:44:35 +0000 (18:44 -0600)
committerDavid Levine <levinedl@acm.org>
Sat, 18 Feb 2012 00:44:35 +0000 (18:44 -0600)
test/README
test/inc/test-deb359167
test/inc/test-eom-align

index 9f890e2dcb2ee4646068f80cc20f38541167e9b3..6d391624c090ceeaa3a7219f9e6d8b7a3323b61e 100644 (file)
@@ -38,6 +38,6 @@ If you wish to write a new test script, here are the steps:
 
 - If you need additional files for your tests, be sure to add them to
   the EXTRA_DIST variable in Makefile.am.  Note that you should insure
-  that you access these files relative to the $MH_OBJ_DIR environment variable.
+  that you access these files relative to the $srcdir environment variable.
 
 - Verify that the test works with both "make check" and "make distcheck".
index 6b433585f1aafa31ae3f7c5187c1f1b86c114550..0058a8ab67ba7e5917615c5342e8362a4ac408f3 100755 (executable)
@@ -13,7 +13,7 @@ setup_test
 
 require_prog valgrind
 
-THISDIR="`dirname $0`"
+THISDIR="$srcdir/test/inc"
 TESTMBOX="$THISDIR/deb359167.mbox"
 
 if [ "$(output_md5 "$TESTMBOX" | cut -d ' ' -f 1)" != "e6ac458b8cccba2b2fd866fb505aeb5e" ]; then 
index 0be49691f591516cf5a6b5a32181d01d2d58f37e..c330067135f3486830ea97ab7808996f9fd43666 100755 (executable)
@@ -13,7 +13,7 @@ fi
 
 setup_test
 
-THISDIR="`dirname $0`"
+THISDIR="$srcdir/test/inc"
 
 if [ ! -z "$VALGRIND_ME" ]; then
     require_prog valgrind