]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-602412-dequote-redirect
fix apt-config test now that PATH changed in 8c617819
[apt.git] / test / integration / test-bug-602412-dequote-redirect
index 4901a32d745b90760779568494a7be96989e8213..6393f0c27cf613b31fe085709533085d40c88953 100755 (executable)
@@ -20,14 +20,11 @@ testrun() {
        testsuccess --nomsg aptget update
 
        # check that I-M-S header is kept in redirections
-        local LOG='update.log'
-        # strip away the [ 304 B ] info
-        aptget update 2>&1 | sed -e 's/\ \[.*//' > $LOG
        testequal "Hit $1 unstable InRelease
 Hit $1 unstable/main Sources
 Hit $1 unstable/main amd64 Packages
 Hit $1 unstable/main Translation-en
-Reading package lists..." cat $LOG
+Reading package lists..." aptget update
 
        msgtest 'Test redirection works in' 'package download'
        testsuccess --nomsg aptget install unrelated --download-only -y