diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-02-10 14:17:06 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-02-10 14:17:06 +0100 |
commit | 9750213c8117312f9d7dc6d283a4005d14621ef6 (patch) | |
tree | f7eab9968ede223403c795552b45572023dda182 /test | |
parent | 7776f6d270030a758aad9b6ce260a62c3aa7b4b5 (diff) |
test: use our special downloaded dir for 'source' result
Otherwise the test run as root fails seeing the
W: Can't drop privileges for downloading as file 'foo_1.tar.gz' couldn't be
accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
warning in a command which isn't supposed to warn.
One trivial test, two fixups and still counting…
Git-Dch: Ignore
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/test-bug-814139-pickup-of-different-cache-states | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/test-bug-814139-pickup-of-different-cache-states b/test/integration/test-bug-814139-pickup-of-different-cache-states index eab3ea660..dffeb73ae 100755 --- a/test/integration/test-bug-814139-pickup-of-different-cache-states +++ b/test/integration/test-bug-814139-pickup-of-different-cache-states @@ -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.* -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 } |