summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-05-04 10:08:16 +0200
committerJulian Andres Klode <jak@debian.org>2016-05-10 21:47:58 +0200
commitabd67a4c7d65a7a8a9e6bdbc0b9da15e63cb6f1d (patch)
tree3109c909b03cca4558948b45b36729ed541ab5b5
parent31cc85c5f6392fd85ff19f90714e41726f917a30 (diff)
test: fix permission issue if run as root
Always those silly mistakes. Do what I mean, not what I said… Reported-By: Travis Git-Dch: Ignore (cherry picked from commit 737ce3135d332e3b6165ac1fac5c68e21ba1bdba)
-rwxr-xr-xtest/integration/test-handle-redirect-as-used-mirror-change1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/test-handle-redirect-as-used-mirror-change b/test/integration/test-handle-redirect-as-used-mirror-change
index 7978d7524..ad2b8fe8b 100755
--- a/test/integration/test-handle-redirect-as-used-mirror-change
+++ b/test/integration/test-handle-redirect-as-used-mirror-change
@@ -23,5 +23,6 @@ Reading package lists..." aptget update
testsuccessequal "Hit:1 http://0.0.0.0:${APTHTTPPORT} unstable InRelease
Reading package lists..." aptget update
+cd downloaded
testsuccess apthelper download-file "http://localhost:${APTHTTPPORT}/redirectme/dists/unstable/InRelease" inrelease
testsuccess test -s inrelease