mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-03 23:38:25 +00:00
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:
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user