diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-02-03 14:56:49 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-02-03 14:56:49 +0100 |
commit | d603afd970e4bc84ed7176b988cd72bd9cf339b3 (patch) | |
tree | 8d09abf1955d7e5f0a8f68a4edb9ab8d1915c562 /test/integration/test-apt-source-and-build-dep | |
parent | cd907113561d5eb75054f981be3bcc22eee8db27 (diff) |
avoid building dependency tree in 'source' command
We don't need the dependencies for obvious reasons and we don't need the
candidate version either, so building a pkgDepCache is wasted effort,
which we can stop doing now that build-dep cleared the path.
Diffstat (limited to 'test/integration/test-apt-source-and-build-dep')
-rwxr-xr-x | test/integration/test-apt-source-and-build-dep | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/integration/test-apt-source-and-build-dep b/test/integration/test-apt-source-and-build-dep index a813cfe39..5fa87d57d 100755 --- a/test/integration/test-apt-source-and-build-dep +++ b/test/integration/test-apt-source-and-build-dep @@ -55,8 +55,7 @@ setupaptarchive APTARCHIVE=$(readlink -f ./aptarchive) # normal operation gets highest version number -HEADER="Reading package lists... -Building dependency tree..." +HEADER='Reading package lists...' DOWNLOAD1="Need to get 0 B/25 B of source archives. 'file://${APTARCHIVE}/foo_1.0.dsc' foo_1.0.dsc 11 SHA256:ed7c25c832596339bee13e4e7c45cf49f869b60d2bf57252f18191d75866c2a7 'file://${APTARCHIVE}/foo_1.0.tar.gz' foo_1.0.tar.gz 14 SHA256:f3da8c6ebc62c8ef2dae439a498dddcdacc1a07f45ff67ad12f44b6e2353c239" @@ -161,13 +160,10 @@ Need to get 0 B/25 B of source archives. Fetch source foo" apt source -q -s foo testsuccessequal "$(getbuilddep 'foo')" apt build-dep foo -s -testfailureequal 'Reading package lists... -Building dependency tree... -E: Must specify at least one package to fetch source for' apt source +testfailureequal 'E: Must specify at least one package to fetch source for' apt source testfailureequal 'E: Must specify at least one package to check builddeps for' apt build-dep testsuccessequal "Reading package lists... -Building dependency tree... NOTICE: 'bar' packaging is maintained in the 'Git' version control system at: git://anonscm.debian.org/bar/bar.git -b debian/experimental Please use: |