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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 8 17:13:46 CEST 2017


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

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

--- Comment #8 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 65654
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65654&action=edit
[SIGNED OFF] Bug 10112 - add test for ./debian/control* files

to test, apply patch...

1/ install libparse-debcontrol-perl package
    apt-get install libparse-debcontrol-perl

2/ run successful tests
    $ perl ./t/00-valid-debian-control-file.t                                  
    1..2
    ok 1 - parsed ./debian/control file cleanly
    ok 2 - parsed ./debian/control.in file cleanly

3/ add some bad syntax to a file
    $ sed -i -e '20i -------\' ./debian/control.in

4/ run failed tests
    $ perl ./t/00-valid-debian-control-file.t
    1..2
    ok 1 - parsed ./debian/control file cleanly
    not ok 2 - parsed ./debian/control.in file cleanly

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

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


More information about the Koha-bugs mailing list