From: Julian Andres Klode Date: Mon, 14 Dec 2015 09:42:38 +0000 (+0100) Subject: test-apt-download-progress: Allow smaller progress change X-Git-Tag: 1.1.5~10 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/5146566b022c1821d85d79e60ca5ba69d31370e1 test-apt-download-progress: Allow smaller progress change Instead of checking for [10%, 100%), check for (0%, 100%), that is everything < 100% and >0%. Gbp-Dch: ignore --- diff --git a/test/integration/test-apt-download-progress b/test/integration/test-apt-download-progress index 64a122a06..07c61abab 100755 --- a/test/integration/test-apt-download-progress +++ b/test/integration/test-apt-download-progress @@ -13,7 +13,7 @@ changetohttpswebserver assertprogress() { T="$1" testsuccess grep "dlstatus:1:0:Retrieving file 1 of 1" "$T" - if ! grep -E -q "dlstatus:1:[1-9][0-9](\..*)?:Retrieving file 1 of 1" "$T"; then + if ! grep -E -q "dlstatus:1:(0\..*|([1-9](\..*)?)|[1-9][0-9](\..*)?):Retrieving file 1 of 1" "$T"; then cat "$T" msgfail "Failed to detect download progress" fi