From 523a55225838808fd0d6ae1c3c3ff18c0757b12e Mon Sep 17 00:00:00 2001 From: Alexander Lamaison Date: Wed, 31 Dec 2014 15:05:12 +0000 Subject: [PATCH] Man man syntax tests fail gracefully if man version is not suitable. --- tests/mansyntax.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/mansyntax.sh b/tests/mansyntax.sh index 607a854..963da6a 100755 --- a/tests/mansyntax.sh +++ b/tests/mansyntax.sh @@ -13,7 +13,8 @@ mandir=${srcdir}/../docs # Only test if suitable man is available # if ! man --help | grep -q warnings; then - exit 77 + echo "man version not suitable, skipping tests" + exit 0 fi ec=0