]> git.koha-community.org Git - koha.git/commit
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)
committerChris Cormack <chris@bigballofwax.co.nz>
Fri, 29 Mar 2013 07:00:04 +0000 (20:00 +1300)
commit4dc8e08be5a334d9c6a615c262eb589b226b6f64
tree6949fc9d585fa224fedbda969d4b686199fff2ec
parent3fced0a187a5a88c66676a551d8c236ea770faae
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>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
debian/control
debian/control.in
debian/rules
xt/verify-debian-docbook.t [new file with mode: 0755]