summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-06-10 21:24:47 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-06-10 21:24:47 +0200
commitd3a869e35503638e3483228fbfc95b7143568ad0 (patch)
treed3fa852ba88b4da60e2ec7b6422e756a0dac3f4b /test
parent59148d9630bbbd53c6aa10da0fcdbd579797502a (diff)
store all targets data in IndexTarget struct
We still need an API for the targets, so slowly prepare the IndexTargets to let them take this job. Git-Dch: Ignore
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-acquire-additional-files4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/test-apt-acquire-additional-files b/test/integration/test-apt-acquire-additional-files
index 0e59233e9..4a6845f40 100755
--- a/test/integration/test-apt-acquire-additional-files
+++ b/test/integration/test-apt-acquire-additional-files
@@ -31,7 +31,7 @@ testempty find rootdir/var/lib/apt/lists -name '*Contents*'
cat > rootdir/etc/apt/apt.conf.d/content-target.conf <<EOF
APT::Acquire::Targets::deb::Contents {
- URI "\$(COMPONENT)/Contents-\$(ARCHITECTURE)";
+ MetaKey "\$(COMPONENT)/Contents-\$(ARCHITECTURE)";
ShortDescription "Contents";
Description "\$(SITE) \$(RELEASE)/\$(COMPONENT) \$(ARCHITECTURE) Contents";
};
@@ -54,7 +54,7 @@ testsuccess cmp 'rootdir/var/lib/apt/lists/localhost:8080_dists_unstable_main_Co
# only if we downloaded a compressed file, but target was uncompressed
cat > rootdir/etc/apt/apt.conf.d/content-target.conf <<EOF
APT::Acquire::Targets::deb::Contents {
- URI "\$(COMPONENT)/Contents-\$(ARCHITECTURE).gz";
+ MetaKey "\$(COMPONENT)/Contents-\$(ARCHITECTURE).gz";
ShortDescription "Contents.gz";
Description "\$(SITE) \$(RELEASE)/\$(COMPONENT) \$(ARCHITECTURE) Contents.gz";
};