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
/
manpages
/
test-manpages
diff --git
a/test/manpages/test-manpages
b/test/manpages/test-manpages
index
7c221ba
..
4865985
100755
(executable)
--- a/
test/manpages/test-manpages
+++ b/
test/manpages/test-manpages
@@
-6,7
+6,12
@@
#
######################################################
#
######################################################
-. ${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
@@
-30,4
+35,6
@@
for manpage in man?/*.?; do
groff -Tutf8 -mandoc -wmac "$manpage" > /dev/null 2>>"$actual"
done
groff -Tutf8 -mandoc -wmac "$manpage" > /dev/null 2>>"$actual"
done
-diff -u "$expected" "$actual"
+check "$expected" "$actual"
+
+exit $failed