projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for "to", "cc", "from", and "fcc" components via command-line
[mmh]
/
test
/
format
/
test-myhost
diff --git
a/test/format/test-myhost
b/test/format/test-myhost
index
d303a8f
..
d7e53e1
100755
(executable)
--- a/
test/format/test-myhost
+++ b/
test/format/test-myhost
@@
-4,11
+4,12
@@
# the localname entry out of the mts configuration file.
#
# 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
fi
-. ${MH_TEST_COMMON}
+. "$MH_OBJ_DIR/test/common.sh"
setup_test
setup_test