]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-acquire-same-repository-multiple-times
move APT::Never-MarkAuto-Sections handling to MarkDelete
[apt.git] / test / integration / test-acquire-same-repository-multiple-times
index bfeaf88db7314ad820aff4e32667df14839895e1..d3cb46c14454776105f16f2379c7c33490c39434 100755 (executable)
@@ -32,7 +32,7 @@ cat >$NEWMETHODS/file <<EOF
 while read line; do
        echo "\$line"
        if [ -z "\$line" ]; then
-               sleep 0.2
+               sleep 0.5
        fi
 done | $OLDMETHODS/file
 EOF
@@ -43,14 +43,14 @@ tworepos() {
        testsuccess --nomsg aptget update -o Debug::pkgAcquire::Worker=1
        cp rootdir/tmp/testsuccess.output download.log
        #cat download.log
-       aptget files --format '$(FILENAME)' --no-release-info | sort > file.lst
+       aptget indextargets --format '$(FILENAME)' --no-release-info | sort > file.lst
        testequal "$(find $(readlink -f ./rootdir/var/lib/apt/lists) -name '*_dists_*' \( ! -name '*InRelease' \) -type f | sort)" cat file.lst
        testsuccess aptcache policy
        testequal "foo:
   Installed: (none)
   Candidate: 1.0
   Version table:
-     1.0 0
+     1.0 500
         500 $1:$2 jessie/main amd64 Packages
         500 $1:$2 stable/main amd64 Packages" aptcache policy foo
        testfailure aptcache show foo/unstable