Man man syntax tests fail gracefully if man version is not suitable.

This commit is contained in:
Alexander Lamaison 2014-12-31 15:05:12 +00:00
parent d73e0ec260
commit 523a552258

View File

@ -13,7 +13,8 @@ mandir=${srcdir}/../docs
# Only test if suitable man is available # Only test if suitable man is available
# #
if ! man --help | grep -q warnings; then if ! man --help | grep -q warnings; then
exit 77 echo "man version not suitable, skipping tests"
exit 0
fi fi
ec=0 ec=0