]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-814139-pickup-of-different-cache-states
don't ask server if we have entire file in partial/
[apt.git] / test / integration / test-bug-814139-pickup-of-different-cache-states
index a6c84d6cdec0f49a0d4c1e2d152dd57c8cce53b0..dffeb73ae3079e6abf97ea35dfc18ed7f32d8588 100755 (executable)
@@ -23,11 +23,13 @@ testrun() {
        testsuccess aptget build-dep foo -y
        testdpkginstalled 'bar'
        cleanup
+       cd downloaded
        testsuccess aptget source foo
-       testsuccess test -s foo_1.tar.xz -a -s foo_1.dsc
-       rm foo_1.tar.xz foo_1.dsc
+       testsuccess test -s foo_1.tar.* -a -s foo_1.dsc
+       rm foo_1.tar.* foo_1.dsc
        testsuccess test -d foo-1
        rm -rf foo-1
+       cd ..
        cleanup
        testsuccess aptget install foo -y
 }