Skip to content

Commit caa5612

Browse files
test: Improve testing to include checkers that should not match (#2560)
* Fixes #2381
1 parent 2263e4c commit caa5612

File tree

252 files changed

+849
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

252 files changed

+849
-5
lines changed

test/test_data/accountsservice.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919
"package_name": "accountsservice_0.6.45-2_amd64.deb",
2020
"product": "accountsservice",
2121
"version": "0.6.45",
22+
"other_products": [],
2223
},
2324
{
2425
"url": "http://mirror.centos.org/centos/8/AppStream/aarch64/os/Packages/",
2526
"package_name": "accountsservice-0.6.55-1.el8.aarch64.rpm",
2627
"product": "accountsservice",
2728
"version": "0.6.55",
29+
"other_products": [],
2830
},
2931
]

test/test_data/acpid.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,34 @@
1010
"package_name": "acpid-2.0.34-1-omv4090.aarch64.rpm",
1111
"product": "acpid2",
1212
"version": "2.0.34",
13+
"other_products": [],
1314
},
1415
{
1516
"url": "http://rpmfind.net/linux/openmandriva/cooker/repository/x86_64/main/release/",
1617
"package_name": "acpid-2.0.34-1-omv4090.x86_64.rpm",
1718
"product": "acpid2",
1819
"version": "2.0.34",
20+
"other_products": [],
1921
},
2022
{
2123
"url": "http://ftp.fr.debian.org/debian/pool/main/a/acpid/",
2224
"package_name": "acpid_2.0.23-2_amd64.deb",
2325
"product": "acpid2",
2426
"version": "2.0.23",
27+
"other_products": [],
2528
},
2629
{
2730
"url": "http://ftp.fr.debian.org/debian/pool/main/a/acpid/",
2831
"package_name": "acpid_2.0.23-2_armel.deb",
2932
"product": "acpid2",
3033
"version": "2.0.23",
34+
"other_products": [],
3135
},
3236
{
3337
"url": "https://downloads.openwrt.org/releases/packages-19.07/x86_64/packages/",
3438
"package_name": "acpid_2.0.30-1_x86_64.ipk",
3539
"product": "acpid2",
3640
"version": "2.0.30",
41+
"other_products": [],
3742
},
3843
]

test/test_data/apache_http_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
"package_name": "httpd-2.4.51-2.fc35.x86_64.rpm",
1616
"product": "http_server",
1717
"version": "2.4.51",
18+
"other_products": ["systemd"],
1819
},
1920
]

test/test_data/apcupsd.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,34 @@
1414
"package_name": "apcupsd-3.14.14-27.fc37.aarch64.rpm",
1515
"product": "apcupsd",
1616
"version": "3.14.14",
17+
"other_products": [],
1718
},
1819
{
1920
"url": "http://rpmfind.net/linux/fedora-secondary/development/rawhide/Everything/ppc64le/os/Packages/a/",
2021
"package_name": "apcupsd-3.14.14-27.fc37.ppc64le.rpm",
2122
"product": "apcupsd",
2223
"version": "3.14.14",
24+
"other_products": [],
2325
},
2426
{
2527
"url": "http://ftp.fr.debian.org/debian/pool/main/a/apcupsd/",
2628
"package_name": "apcupsd_3.14.12-1.1_amd64.deb",
2729
"product": "apcupsd",
2830
"version": "3.14.12",
31+
"other_products": [],
2932
},
3033
{
3134
"url": "http://ftp.fr.debian.org/debian/pool/main/a/apcupsd/",
3235
"package_name": "apcupsd_3.14.12-1.1_armel.deb",
3336
"product": "apcupsd",
3437
"version": "3.14.12",
38+
"other_products": [],
3539
},
3640
{
3741
"url": "https://downloads.openwrt.org/releases/packages-19.07/x86_64/packages/",
3842
"package_name": "apcupsd_3.14.14-2_x86_64.ipk",
3943
"product": "apcupsd",
4044
"version": "3.14.14",
45+
"other_products": [],
4146
},
4247
]

test/test_data/asn1c.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,27 @@
1010
"package_name": "asn1c-0.9.28-14.fc37.aarch64.rpm",
1111
"product": "asn1c",
1212
"version": "0.9.28",
13+
"other_products": [],
1314
},
1415
{
1516
"url": "http://rpmfind.net/linux/fedora-secondary/development/rawhide/Everything/ppc64le/os/Packages/a/",
1617
"package_name": "asn1c-0.9.28-14.fc37.ppc64le.rpm",
1718
"product": "asn1c",
1819
"version": "0.9.28",
20+
"other_products": [],
1921
},
2022
{
2123
"url": "http://ftp.fr.debian.org/debian/pool/main/a/asn1c/",
2224
"package_name": "asn1c_0.9.24+dfsg-1_amd64.deb",
2325
"product": "asn1c",
2426
"version": "0.9.24",
27+
"other_products": [],
2528
},
2629
{
2730
"url": "http://ftp.fr.debian.org/debian/pool/main/a/asn1c/",
2831
"package_name": "asn1c_0.9.24+dfsg-1_armel.deb",
2932
"product": "asn1c",
3033
"version": "0.9.24",
34+
"other_products": [],
3135
},
3236
]

test/test_data/assimp.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,34 @@
1010
"package_name": "assimp-5.2.4-1-omv4090.aarch64.rpm",
1111
"product": "assimp",
1212
"version": "5.2.4",
13+
"other_products": [],
1314
},
1415
{
1516
"url": "http://rpmfind.net/linux/openmandriva/cooker/repository/x86_64/main/release/",
1617
"package_name": "assimp-5.2.4-1-omv4090.x86_64.rpm",
1718
"product": "assimp",
1819
"version": "5.2.4",
20+
"other_products": [],
1921
},
2022
{
2123
"url": "http://ftp.de.debian.org/debian/pool/main/a/assimp/",
2224
"package_name": "libassimp5_5.0.1~ds0-2_arm64.deb",
2325
"product": "assimp",
2426
"version": "5.0.1",
27+
"other_products": [],
2528
},
2629
{
2730
"url": "http://ftp.de.debian.org/debian/pool/main/a/assimp/",
2831
"package_name": "libassimp4_4.1.0~dfsg-5_amd64.deb",
2932
"product": "assimp",
3033
"version": "4.1.0",
34+
"other_products": [],
3135
},
3236
{
3337
"url": "http://ftp.de.debian.org/debian/pool/main/a/assimp/",
3438
"package_name": "libassimp3v5_3.3.1~dfsg-4+b1_arm64.deb",
3539
"product": "assimp",
3640
"version": "3.3.1",
41+
"other_products": [],
3742
},
3843
]

test/test_data/asterisk.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,27 @@
1919
"package_name": "asterisk-18.12.1-1.fc37.1.aarch64.rpm",
2020
"product": "asterisk",
2121
"version": "18.12.1",
22+
"other_products": ["systemd"],
2223
},
2324
{
2425
"url": "http://rpmfind.net/linux/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/a/",
2526
"package_name": "asterisk-18.12.1-1.fc37.1.i686.rpm",
2627
"product": "asterisk",
2728
"version": "18.12.1",
29+
"other_products": ["systemd"],
2830
},
2931
{
3032
"url": "http://ftp.de.debian.org/debian/pool/main/a/asterisk/",
3133
"package_name": "asterisk_16.16.1~dfsg-1+deb11u1_arm64.deb",
3234
"product": "asterisk",
3335
"version": "16.16.1",
36+
"other_products": ["systemd"],
3437
},
3538
{
3639
"url": "https://downloads.openwrt.org/releases/22.03.0/packages/aarch64_generic/telephony/",
3740
"package_name": "asterisk_18.11.2-4_aarch64_generic.ipk",
3841
"product": "asterisk",
3942
"version": "18.11.2",
43+
"other_products": ["systemd"],
4044
},
4145
]

test/test_data/atftp.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,34 @@
1010
"package_name": "atftp-0.8.0-1.1.aarch64.rpm",
1111
"product": "atftp",
1212
"version": "0.8.0",
13+
"other_products": [],
1314
},
1415
{
1516
"url": "http://rpmfind.net/linux/opensuse/ports/armv6hl/tumbleweed/repo/oss/armv6hl/",
1617
"package_name": "atftp-0.8.0-1.1.armv6hl.rpm",
1718
"product": "atftp",
1819
"version": "0.8.0",
20+
"other_products": [],
1921
},
2022
{
2123
"url": "http://ftp.de.debian.org/debian/pool/main/a/atftp/",
2224
"package_name": "atftp_0.8.0-1_arm64.deb",
2325
"product": "atftp",
2426
"version": "0.8.0",
27+
"other_products": [],
2528
},
2629
{
2730
"url": "http://ftp.de.debian.org/debian/pool/main/a/atftp/",
2831
"package_name": "atftpd_0.8.0-1_arm64.deb",
2932
"product": "atftp",
3033
"version": "0.8.0",
34+
"other_products": [],
3135
},
3236
{
3337
"url": "https://downloads.openwrt.org/releases/22.03.0/packages/x86_64/packages/",
3438
"package_name": "atftpd_0.7.5-1_x86_64.ipk",
3539
"product": "atftp",
3640
"version": "0.7.5",
41+
"other_products": [],
3742
},
3843
]

test/test_data/avahi.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,20 @@
1111
"package_name": "avahi-0.6.26-3.fc14.x86_64.rpm",
1212
"product": "avahi",
1313
"version": "0.6.26",
14+
"other_products": [],
1415
},
1516
{
1617
"url": "https://kojipkgs.fedoraproject.org/packages/avahi/0.6.32/7.fc26/ppc64/",
1718
"package_name": "avahi-0.6.32-7.fc26.ppc64.rpm",
1819
"product": "avahi",
1920
"version": "0.6.32",
21+
"other_products": [],
2022
},
2123
{
2224
"url": "http://mirror.centos.org/centos/7/os/x86_64/Packages/",
2325
"package_name": "avahi-0.6.31-20.el7.x86_64.rpm",
2426
"product": "avahi",
2527
"version": "0.6.31",
28+
"other_products": [],
2629
},
2730
]

test/test_data/bash.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
"package_name": "bash-4.0-1.fc11.x86_64.rpm",
1111
"product": "bash",
1212
"version": "4.0.0",
13+
"other_products": [],
1314
},
1415
{
1516
"url": "http://mirrors.cat.pdx.edu/ubuntu/pool/main/b/bash/",
1617
"package_name": "bash_4.4.18-2ubuntu1_amd64.deb",
1718
"product": "bash",
1819
"version": "4.4.19",
20+
"other_products": [],
1921
},
2022
]

test/test_data/bind.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
"package_name": "bind-9.10.3-1.fc23.x86_64.rpm",
1212
"product": "bind",
1313
"version": "9.10.3",
14+
"other_products": ["openssl"],
1415
},
1516
{
1617
"url": "http://mirror.centos.org/centos/7/os/x86_64/Packages/",
1718
"package_name": "bind-9.11.4-26.P2.el7.x86_64.rpm",
1819
"product": "bind",
1920
"version": "9.11.4",
21+
"other_products": ["openssl"],
2022
},
2123
]

test/test_data/binutils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@
1818
"package_name": "binutils_2.26.1-1ubuntu1~16.04.8_amd64.deb",
1919
"product": "binutils",
2020
"version": "2.26.1",
21+
"other_products": ["zlib"],
2122
},
2223
{
2324
"url": "http://mirror.centos.org/centos/7/os/x86_64/Packages/",
2425
"package_name": "binutils-2.27-44.base.el7.x86_64.rpm",
2526
"product": "binutils",
2627
"version": "2.27",
28+
"other_products": ["zlib"],
2729
},
2830
]

test/test_data/bird.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,27 @@
1010
"package_name": "bird-2.0.10-3.fc37.aarch64.rpm",
1111
"product": "bird",
1212
"version": "2.0.10",
13+
"other_products": [],
1314
},
1415
{
1516
"url": "http://rpmfind.net/linux/fedora-secondary/development/rawhide/Everything/ppc64le/os/Packages/b/",
1617
"package_name": "bird-2.0.10-3.fc37.ppc64le.rpm",
1718
"product": "bird",
1819
"version": "2.0.10",
20+
"other_products": [],
1921
},
2022
{
2123
"url": "http://ftp.de.debian.org/debian/pool/main/b/bird/",
2224
"package_name": "bird_1.6.3-2+deb9u1_arm64.deb",
2325
"product": "bird",
2426
"version": "1.6.3",
27+
"other_products": [],
2528
},
2629
{
2730
"url": "https://downloads.openwrt.org/releases/22.03.0/packages/x86_64/routing/",
2831
"package_name": "bird1-ipv4_1.6.8-2_x86_64.ipk",
2932
"product": "bird",
3033
"version": "1.6.8",
34+
"other_products": [],
3135
},
3236
]

test/test_data/bison.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,27 @@
1010
"package_name": "bison-3.8.2-6-omv4090.aarch64.rpm",
1111
"product": "bison",
1212
"version": "3.8.2",
13+
"other_products": [],
1314
},
1415
{
1516
"url": "http://rpmfind.net/linux/openmandriva/cooker/repository/x86_64/main/release/",
1617
"package_name": "bison-3.8.2-6-omv4090.x86_64.rpm",
1718
"product": "bison",
1819
"version": "3.8.2",
20+
"other_products": [],
1921
},
2022
{
2123
"url": "http://ftp.fr.debian.org/debian/pool/main/b/bison/",
2224
"package_name": "bison_3.0.2.dfsg-2_amd64.deb",
2325
"product": "bison",
2426
"version": "3.0.2",
27+
"other_products": [],
2528
},
2629
{
2730
"url": "http://ftp.fr.debian.org/debian/pool/main/b/bison/",
2831
"package_name": "bison_3.0.2.dfsg-2_armel.deb",
2932
"product": "bison",
3033
"version": "3.0.2",
34+
"other_products": [],
3135
},
3236
]

test/test_data/boinc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,20 @@
1111
"package_name": "libboinc7-7.20.2-1.3.aarch64.rpm",
1212
"product": "boinc",
1313
"version": "7.20.2",
14+
"other_products": [],
1415
},
1516
{
1617
"url": "http://ftp.fr.debian.org/debian/pool/main/b/boinc/",
1718
"package_name": "boinc-client_7.10.2+dfsg-2~bpo9+1_amd64.deb",
1819
"product": "boinc",
1920
"version": "7.10.2",
21+
"other_products": [],
2022
},
2123
{
2224
"url": "https://downloads.openwrt.org/releases/packages-19.07/x86_64/packages/",
2325
"package_name": "boinc_7.16.16-1_x86_64.ipk",
2426
"product": "boinc",
2527
"version": "7.16.16",
28+
"other_products": [],
2629
},
2730
]

test/test_data/bolt.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919
"package_name": "bolt_0.9.1-1_amd64.deb",
2020
"product": "bolt",
2121
"version": "0.9.1",
22+
"other_products": [],
2223
},
2324
{
2425
"url": "https://download-ib01.fedoraproject.org/pub/fedora/linux/releases/33/Everything/aarch64/os/Packages/b/",
2526
"package_name": "bolt-0.9-3.fc33.aarch64.rpm",
2627
"product": "bolt",
2728
"version": "0.9",
29+
"other_products": [],
2830
},
2931
]

test/test_data/bro.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,20 @@
1111
"package_name": "bro-2.4.1-3.el7.aarch64.rpm",
1212
"product": "bro",
1313
"version": "2.4.1",
14+
"other_products": ["sqlite"],
1415
},
1516
{
1617
"url": "http://ftp.fr.debian.org/debian/pool/main/b/bro/",
1718
"package_name": "bro_2.5-1_amd64.deb",
1819
"product": "bro",
1920
"version": "2.5",
21+
"other_products": ["sqlite"],
2022
},
2123
{
2224
"url": "http://ftp.fr.debian.org/debian/pool/main/b/bro/",
2325
"package_name": "bro_2.5.5-1+deb10u1_arm64.deb",
2426
"product": "bro",
2527
"version": "2.5.5",
28+
"other_products": ["sqlite"],
2629
},
2730
]

0 commit comments

Comments
 (0)