summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-03-27 12:37:09 +0200
committerJulian Andres Klode <jak@debian.org>2016-03-27 12:37:09 +0200
commitcf2d4e7c4ddce2677e22c2ba7599bc8996b1993a (patch)
treea12acea3dc4e5d23b1de97fc986b032f8ce9537a /test/integration
parentdf70a3ba7f45a643ce730d3a075aafec4fc9a9cd (diff)
test-acquire-same-file-multiple-times: Delete files before retrying
This gets rid of byte-range requests and 416 responses. Gbp-Dch: ignore
Diffstat (limited to 'test/integration')
-rwxr-xr-xtest/integration/test-acquire-same-file-multiple-times1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/test-acquire-same-file-multiple-times b/test/integration/test-acquire-same-file-multiple-times
index 1edcf941c..a6825b2c2 100755
--- a/test/integration/test-acquire-same-file-multiple-times
+++ b/test/integration/test-acquire-same-file-multiple-times
@@ -59,6 +59,7 @@ testrun 'httpdown'
httpredirectdown() {
msgtest 'Redirect leads' 'first URI to the second URI'
for i in 1 2 3 4 5 6 7 8 9 10; do
+ rm -f ./downloaded/foo1 ./downloaded/foo2
testsuccess --nomsg apthelper download-file "http://localhost:${APTHTTPPORT}/foo2" "./downloaded/foo1" '' \
"http://localhost:${APTHTTPPORT}/foo" './downloaded/foo2' '' -o Debug::pkgAcquire::Worker=1 -o Debug::Acquire::http=1
cp rootdir/tmp/testsuccess.output download.log