#
######################################################
-. ${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
touch "$expected" "$actual"
for manpage in man?/*.?; do
- groff -Tutf8 -mandoc -wmac "$manpage" > /dev/null 2>>"$actual"
+ groff -Tutf8 -mandoc -ww "$manpage" > /dev/null 2>>"$actual"
done
-diff -u "$expected" "$actual"
+check "$expected" "$actual"
+
+exit $failed