Bug 9802 - add test case to ensure man pages have correct XML
authorRobin Sheat <robin@catalyst.net.nz>
Wed, 13 Mar 2013 02:51:37 +0000 (15:51 +1300)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 20 Mar 2013 19:11:10 +0000 (15:11 -0400)
commitc9172f49c8afabad0ee69a8092b33b892e4336f6
treebb661bc366e5bd92fff43ab15db554fa0d0990c4
parentfb28e0e53dd8cbfe02eb84bfe146bd1456741dde
Bug 9802 - add test case to ensure man pages have correct XML

To test:
* run xt/verify-debian-docbook.t and make sure it's all OK
* modify an xml file in debian/docs, try again, make sure it fails

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
- Running "prove -v xt/verify-debian-docbook.t" loops through all the
  XML files in debian/docs and reports them as being ok.
- Removing a "<" from one of the files makes the test report it as
  an error
- I did not verify that the test actually trips up a package build
  if there is invalid XML.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
debian/control
debian/control.in
debian/rules
xt/verify-debian-docbook.t [new file with mode: 0755]