[Koha-bugs] [Bug 10112] add test for ./debian/control file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Apr 27 14:27:21 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10112

Mirko Tietgen <mirko at abunchofthings.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17664|0                           |1
        is obsolete|                            |

--- Comment #2 from Mirko Tietgen <mirko at abunchofthings.net> ---
Created attachment 17751
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17751&action=edit
Bug 10112 - add test for ./debian/control file

to test, apply patch...

- run successful test
    $ perl ./t/00-valid-debian-control-file.t
    1..1
    ok 1 - parsed ./debian/control file ok

- add bad string to ./debian/control file
    $ sed -i -e '20i -------\' ./debian/control

- run failed test
    $ perl ./t/00-valid-debian-control-file.t
    1..1
    not ok 1 - parsed ./debian/control file ok

Signed-off-by: Mirko Tietgen <mirko at abunchofthings.net>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list