diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-10-06 11:15:03 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-10-07 01:59:49 +0200 |
commit | 04a54261afd1c99686109f102afc83346c01c930 (patch) | |
tree | 2696108e5176eea3d486919224b024ba6186b907 /test/integration | |
parent | 8267fbd9c4d4a5add120282fe180c48e851958a5 (diff) |
ensure partial dirs are 0700 and owned by _apt:root
Reworks the API involved in creating and setting up the fetcher to be a
bit more pleasent to look at and work with as e.g. an empty string for
no lock isn't very nice. With the lock we can also stop creating all our
partial directories "just in case". This way we can also be a bit more
aggressive with the partial directory itself as with a lock, we know we
will gone need it.
Diffstat (limited to 'test/integration')
-rwxr-xr-x | test/integration/test-apt-get-clean | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/test-apt-get-clean b/test/integration/test-apt-get-clean index 646ea31be..98f7c84d0 100755 --- a/test/integration/test-apt-get-clean +++ b/test/integration/test-apt-get-clean @@ -18,6 +18,7 @@ testsuccess aptget clean # generate some dirt and clean it up touch rootdir/var/lib/apt/lists/partial/http.debian.net_debian_dists_sid_main_i18n_Translation-en +mkdir -p rootdir/var/cache/apt/archives touch rootdir/var/cache/apt/archives/foo_1_all.deb touch rootdir/var/cache/apt/archives/foo_2_all.deb touch rootdir/var/cache/apt/archives/foo_3_all.deb |