From 8e03013e19faac932b540eb07bde59aba0d3556a Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Tue, 7 Dec 2021 13:41:41 +0100 Subject: bitbake: fetch: add a test for version check where compression changes (Bitbake rev: b6f0c29346ad6463c0e521248633e71886bfb5dc) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- .../debian/pool/main/m/minicom/index.html | 59 ++++++++++++++++++++++ bitbake/lib/bb/tests/fetch.py | 6 +++ 2 files changed, 65 insertions(+) create mode 100644 bitbake/lib/bb/tests/fetch-testdata/debian/pool/main/m/minicom/index.html (limited to 'bitbake/lib/bb/tests') diff --git a/bitbake/lib/bb/tests/fetch-testdata/debian/pool/main/m/minicom/index.html b/bitbake/lib/bb/tests/fetch-testdata/debian/pool/main/m/minicom/index.html new file mode 100644 index 0000000000..4a1eb4de13 --- /dev/null +++ b/bitbake/lib/bb/tests/fetch-testdata/debian/pool/main/m/minicom/index.html @@ -0,0 +1,59 @@ + + + + Index of /debian/pool/main/m/minicom + + +

Index of /debian/pool/main/m/minicom

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ICO]NameLast modifiedSize

[PARENTDIR]Parent Directory  -
[   ]minicom_2.7-1+deb8u1.debian.tar.xz2017-04-24 08:22 14K
[   ]minicom_2.7-1+deb8u1.dsc2017-04-24 08:22 1.9K
[   ]minicom_2.7-1+deb8u1_amd64.deb2017-04-25 21:10 257K
[   ]minicom_2.7-1+deb8u1_armel.deb2017-04-26 00:58 246K
[   ]minicom_2.7-1+deb8u1_armhf.deb2017-04-26 00:58 245K
[   ]minicom_2.7-1+deb8u1_i386.deb2017-04-25 21:41 258K
[   ]minicom_2.7-1.1.debian.tar.xz2017-04-22 09:34 14K
[   ]minicom_2.7-1.1.dsc2017-04-22 09:34 1.9K
[   ]minicom_2.7-1.1_amd64.deb2017-04-22 15:29 261K
[   ]minicom_2.7-1.1_arm64.deb2017-04-22 15:29 250K
[   ]minicom_2.7-1.1_armel.deb2017-04-22 15:29 255K
[   ]minicom_2.7-1.1_armhf.deb2017-04-22 15:29 254K
[   ]minicom_2.7-1.1_i386.deb2017-04-22 15:29 266K
[   ]minicom_2.7-1.1_mips.deb2017-04-22 15:29 258K
[   ]minicom_2.7-1.1_mips64el.deb2017-04-22 15:29 259K
[   ]minicom_2.7-1.1_mipsel.deb2017-04-22 15:29 259K
[   ]minicom_2.7-1.1_ppc64el.deb2017-04-22 15:29 253K
[   ]minicom_2.7-1.1_s390x.deb2017-04-22 15:29 261K
[   ]minicom_2.7.1-1+b1_amd64.deb2018-05-06 08:14 262K
[   ]minicom_2.7.1-1+b1_arm64.deb2018-05-06 07:58 250K
[   ]minicom_2.7.1-1+b1_armel.deb2018-05-06 08:45 253K
[   ]minicom_2.7.1-1+b1_armhf.deb2018-05-06 10:42 253K
[   ]minicom_2.7.1-1+b1_i386.deb2018-05-06 08:55 266K
[   ]minicom_2.7.1-1+b1_mips.deb2018-05-06 08:14 258K
[   ]minicom_2.7.1-1+b1_mipsel.deb2018-05-06 12:13 259K
[   ]minicom_2.7.1-1+b1_ppc64el.deb2018-05-06 09:10 260K
[   ]minicom_2.7.1-1+b1_s390x.deb2018-05-06 08:14 257K
[   ]minicom_2.7.1-1+b2_mips64el.deb2018-05-06 09:41 260K
[   ]minicom_2.7.1-1.debian.tar.xz2017-08-13 15:40 14K
[   ]minicom_2.7.1-1.dsc2017-08-13 15:40 1.8K
[   ]minicom_2.7.1.orig.tar.gz2017-08-13 15:40 855K
[   ]minicom_2.7.orig.tar.gz2014-01-01 09:36 843K
[   ]minicom_2.8-2.debian.tar.xz2021-06-15 03:47 14K
[   ]minicom_2.8-2.dsc2021-06-15 03:47 1.8K
[   ]minicom_2.8-2_amd64.deb2021-06-15 03:58 280K
[   ]minicom_2.8-2_arm64.deb2021-06-15 04:13 275K
[   ]minicom_2.8-2_armel.deb2021-06-15 04:13 271K
[   ]minicom_2.8-2_armhf.deb2021-06-15 04:13 272K
[   ]minicom_2.8-2_i386.deb2021-06-15 04:13 285K
[   ]minicom_2.8-2_mips64el.deb2021-06-15 04:13 277K
[   ]minicom_2.8-2_mipsel.deb2021-06-15 04:13 278K
[   ]minicom_2.8-2_ppc64el.deb2021-06-15 04:13 286K
[   ]minicom_2.8-2_s390x.deb2021-06-15 03:58 275K
[   ]minicom_2.8.orig.tar.bz22021-01-03 12:44 598K

+
Apache Server at ftp.debian.org Port 80
+ diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index dc45eb2e13..6b77afe5f1 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py @@ -1346,6 +1346,12 @@ class FetchLatestVersionTest(FetcherTest): # http://ftp.debian.org/debian/pool/main/d/db5.3/ ("db", "/berkeley-db/db-5.3.21.tar.gz", "/debian/pool/main/d/db5.3/", r"(?Pdb5\.3_)(?P\d+(\.\d+)+).+\.orig\.tar\.xz") : "5.3.10", + # + # packages where the tarball compression changed in the new version + # + # http://ftp.debian.org/debian/pool/main/m/minicom/minicom_2.7.1.orig.tar.gz + ("minicom", "/debian/pool/main/m/minicom/minicom_2.7.1.orig.tar.gz", "", "") + : "2.8", } @skipIfNoNetwork() -- cgit v1.2.3-54-g00ecf