test: remove manpage test

This test is unreliable and fails seemingly randomly in our CI.
Restarting our tests always makes the test pass.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
This commit is contained in:
Matthew Johnson
2018-08-15 17:22:51 -07:00
parent 51538dd495
commit 4faee3855f
2 changed files with 0 additions and 30 deletions
-1
View File
@@ -111,7 +111,6 @@ BATS_LOG_DRIVER = $(tap_driver)
TESTS = $(dist_check_SCRIPTS)
BATS = \
test/documentation/manpages/test.bats \
test/functional/bundleadd/add-directory/test.bats \
test/functional/bundleadd_v2/add-directory.bats \
test/functional/bundleadd/add-existing/test.bats \
-29
View File
@@ -1,29 +0,0 @@
#!/usr/bin/env bats
setup() {
# Ensure that we have the conversion program
type -t rst2man.py > /dev/null
# Change to the toplevel git directory
type -t git >/dev/null || skip
cd "$(git rev-parse --show-toplevel)"
}
@test "Check manual pages are up to date" {
for rst in docs/*.[1-9].rst
do
[ -f "$rst" ] || continue # Could use shopt -s nullglob
echo "$rst"
rst2man.py "$rst" | cmp "${rst%.rst}" -
done
}
@test "Check manual pages are clean" {
for nroff in docs/*.[1-9]
do
[ -f "$nroff" ] || continue
echo "$nroff"
git diff-index --quiet HEAD "$nroff"
done
}
# vi: ft=sh ts=8 sw=2 sts=2 et tw=80