summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-ftparchive-by-hash
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2015-09-07 12:47:30 +0200
committerMichael Vogt <mvo@ubuntu.com>2015-09-07 16:00:55 +0200
commite8e52cd039b4c71913e157d7855500ba98e7cade (patch)
tree33828cb5040f53750236632a7d1eed8cd537b8be /test/integration/test-apt-ftparchive-by-hash
parent2861bd9a2687dbd744997fddcfe90475be525bf0 (diff)
Set APT::FTPArchive::DoByHash to false by default
"apt-ftparchive release" will create the by-hash files if this mode is enabled. This maybe unexpected by existing users so make it a opt-in. Git-Dch: ignore
Diffstat (limited to 'test/integration/test-apt-ftparchive-by-hash')
-rwxr-xr-xtest/integration/test-apt-ftparchive-by-hash3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/test-apt-ftparchive-by-hash b/test/integration/test-apt-ftparchive-by-hash
index 6cda0e415..f00e2a24c 100755
--- a/test/integration/test-apt-ftparchive-by-hash
+++ b/test/integration/test-apt-ftparchive-by-hash
@@ -19,6 +19,9 @@ setupenvironment
configarchitecture 'i386'
configcompression 'gz' '.'
+# enable by-hash in apt-ftparchive
+echo 'APT::FTPArchive::DoByHash "1";' >> aptconfig.conf
+
# build one pacakge
buildsimplenativepackage 'foo' 'i386' '1' 'unstable'
buildaptarchivefromincoming