]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-595691-empty-and-broken-archive-files
rework hashsum verification in the acquire system
[apt.git] / test / integration / test-bug-595691-empty-and-broken-archive-files
index bca07268cb012064e667b7b6e70dd48e800c0bd7..486b8ba027242bea2d1624377884aa9c74cbe95c 100755 (executable)
@@ -12,7 +12,7 @@ setupflataptarchive
 
 testaptgetupdate() {
        rm -rf rootdir/var/lib/apt
-       aptget update 2>> testaptgetupdate.diff >> testaptgetupdate.diff || true
+       aptget update >testaptgetupdate.diff 2>&1 || true
        sed -i -e '/Ign /,+1d' -e '/Release/ d' -e 's#Get:[0-9]\+ #Get: #' -e 's#\[[0-9]* [kMGTPY]*B\]#\[\]#' testaptgetupdate.diff
        GIVEN="$1"
        shift