summaryrefslogtreecommitdiff
path: root/tests/tests/manpages-format
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests/manpages-format')
-rwxr-xr-xtests/tests/manpages-format4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests/manpages-format b/tests/tests/manpages-format
index 7ba2f9d..e58da51 100755
--- a/tests/tests/manpages-format
+++ b/tests/tests/manpages-format
@@ -14,10 +14,10 @@ export MANWIDTH=80
run_man () {
if [ "x${DGIT_MANPAGES_SOURCE_DIR}" = x ]; then
- cmd='man "$@" $section $page'
+ cmd='man --warnings "$@" $section $page'
else
make $roff >&2
- cmd='man "$@" -l $roff'
+ cmd='man --warnings "$@" -l $roff'
fi
eval "$cmd 2>&1 >/dev/null |tee $errs"
}