]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-download-progress
Merge branch 'debian/experimental' of https://github.com/DonKult/apt into debian...
[apt.git] / test / integration / test-apt-download-progress
index 7caeca971f230fe7421d33c16e867dd52fdd8970..bf6a412ad63d9240077197e3bd7e98748dfc71f9 100755 (executable)
@@ -13,7 +13,7 @@ changetohttpswebserver
 assertprogress() {
     T="$1"
     testsuccess grep "dlstatus:1:0:Retrieving file 1 of 1" "$T"
-    if ! egrep -q "dlstatus:1:[1-9][0-9](\..*)?:Retrieving file 1 of 1" "$T"; then
+    if ! grep -E -q "dlstatus:1:[1-9][0-9](\..*)?:Retrieving file 1 of 1" "$T"; then
         cat "$T"
         msgfail "Failed to detect download progress"
     fi