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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 21 14:22:07 CEST 2017


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

Mason James <mtj at kohaaloha.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Discussion               |Needs Signoff
  Attachment #17751|0                           |1
        is obsolete|                            |
  Attachment #64313|0                           |1
        is obsolete|                            |

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |josef.moravec at gmail.com

--- Comment #6 from Mason James <mtj at kohaaloha.com> ---
Created attachment 64313
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64313&action=edit
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

--- Comment #7 from Josef Moravec <josef.moravec at gmail.com> ---
What is an appropriate statuse of this?

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


More information about the Koha-bugs mailing list