projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed to work with Solaris Bourne shell.
[mmh]
/
test
/
folder
/
test-create
diff --git
a/test/folder/test-create
b/test/folder/test-create
index
a3460ee
..
1af751e
100755
(executable)
--- a/
test/folder/test-create
+++ b/
test/folder/test-create
@@
-5,11
+5,12
@@
#
######################################################
#
######################################################
-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