projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rearranged test suite environment variables so that individual tests
[mmh]
/
test
/
inc
/
test-deb359167
diff --git
a/test/inc/test-deb359167
b/test/inc/test-deb359167
index
72c6b7f
..
d2b2302
100755
(executable)
--- a/
test/inc/test-deb359167
+++ b/
test/inc/test-deb359167
@@
-2,11
+2,16
@@
# Test a variant of a mailbox which caused debian bug 359167.
set -e
# Test a variant of a mailbox which caused debian bug 359167.
set -e
-. ${MH_TEST_COMMON}
+if test -z "${MH_OBJ_DIR}"; then
+ srcdir=`dirname $0`/../..
+ MH_OBJ_DIR=`cd $srcdir && pwd`; export MH_OBJ_DIR
+fi
+
+. "$MH_OBJ_DIR/test/common.sh"
setup_test
setup_test
-THISDIR="${srcdir}/test/inc"
+THISDIR="${MH_OBJ_DIR}/test/inc"
require_prog valgrind
require_prog valgrind