projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added test/getfqnd.c, a replacement for "hostname" that always
[mmh]
/
test
/
manpages
/
test-manpages
diff --git
a/test/manpages/test-manpages
b/test/manpages/test-manpages
index
7cb7db8
..
ce7d443
100755
(executable)
--- a/
test/manpages/test-manpages
+++ b/
test/manpages/test-manpages
@@
-7,8
+7,8
@@
######################################################
if test -z "${MH_OBJ_DIR}"; then
######################################################
if test -z "${MH_OBJ_DIR}"; then
- srcdir=`dirname $0`/../..
- MH_OBJ_DIR=`cd $srcdir && pwd`; export MH_OBJ_DIR
+ srcdir=`dirname "$0"`/../..
+ MH_OBJ_DIR=`cd "$srcdir" && pwd`; export MH_OBJ_DIR
fi
. "$MH_OBJ_DIR/test/common.sh"
fi
. "$MH_OBJ_DIR/test/common.sh"
@@
-32,7
+32,9
@@
rm -f "$expected" "$actual"
touch "$expected" "$actual"
for manpage in man?/*.?; do
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
done
-diff -u "$expected" "$actual"
+check "$expected" "$actual"
+
+exit $failed