]> diplodocus.org Git - nmh/blobdiff - test/format/test-myhost
Add support for "to", "cc", "from", and "fcc" components via command-line
[nmh] / test / format / test-myhost
index d303a8f2f47604026df9bd72f587369e19522d62..d7e53e160ad87c50339da23fe8d4957a3d0ea78a 100755 (executable)
@@ -4,11 +4,12 @@
 # the localname entry out of the mts configuration file.
 #
 
-if [ -z "${MH_TEST_COMMON}" ]; then
-       echo "MH_TEST_COMMON not set; try running via 'make check'"
+if test -z "${MH_OBJ_DIR}"; then
+    srcdir=`dirname "$0"`/../..
+    MH_OBJ_DIR=`cd "$srcdir" && pwd`; export MH_OBJ_DIR
 fi
 
-. ${MH_TEST_COMMON}
+. "$MH_OBJ_DIR/test/common.sh"
 
 setup_test