File: dpkg-patches-test-conf.pl

package info (click to toggle)
libconfig-model-dpkg-perl 3.014
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,200 kB
  • sloc: perl: 8,255; python: 242; makefile: 77; javascript: 16; sh: 1
file content (23 lines) | stat: -rw-r--r-- 646 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use strict;
use warnings;

my @tests = (
    {
        name => 'debian-748502' ,
        # required to skip the bad patch (non dep-3)
        load_check => 'no',
        log4perl_load_warnings => [[ User => warn => qr/Ignoring patch/ ]],
        check => {
            'patches:tweak-defaults Synopsis' => 'Tweak defaults values for Debian'
        },
        load => 'patches:~mail-like-patch',
        # bad patch is skipped by config-model but is not removed from patch set
        # hence the 2nd instance must also skip the bad patch
        load_check2 => 'no',
    }
);

return {
    conf_dir => 'debian/patches',
    tests => \@tests,
};