From: David Kalnischkies Date: Wed, 4 May 2016 08:08:16 +0000 (+0200) Subject: test: fix permission issue if run as root X-Git-Tag: 1.2.12~4 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/abd67a4c7d65a7a8a9e6bdbc0b9da15e63cb6f1d 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) --- 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