Skip to content

Commit 0880b0a

Browse files
test: add non-debian based tests for gawk (#3482)
1 parent 0c1d8ce commit 0880b0a

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed
416 KB
Binary file not shown.
266 KB
Binary file not shown.

test/test_data/gawk.py

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,21 @@
33

44

55
mapping_test_data = [
6+
{
7+
"product": "gawk",
8+
"version": "5.1.1",
9+
"version_strings": ["GNU Awk 5.1.1"],
10+
},
11+
{
12+
"product": "gawk",
13+
"version": "5.2.0",
14+
"version_strings": ["GNU Awk 5.2.0"],
15+
},
616
{
717
"product": "gawk",
818
"version": "5.2.1",
919
"version_strings": ["GNU Awk 5.2.1"],
10-
}
20+
},
1121
]
1222

1323
package_test_data = [
@@ -16,5 +26,17 @@
1626
"package_name": "gawk_5.2.1-2_amd64.deb",
1727
"product": "gawk",
1828
"version": "5.2.1",
19-
}
29+
},
30+
{
31+
"url": "https://rpmfind.net/linux/fedora/linux/releases/38/Everything/x86_64/os/Packages/g/",
32+
"package_name": "gawk-5.1.1-5.fc38.x86_64.rpm",
33+
"product": "gawk",
34+
"version": "5.1.1",
35+
},
36+
{
37+
"url": "https://downloads.openwrt.org/releases/22.03.5/packages/x86_64/packages/",
38+
"package_name": "gawk_5.2.0-1_x86_64.ipk",
39+
"product": "gawk",
40+
"version": "5.2.0",
41+
},
2042
]

0 commit comments

Comments
 (0)