diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-07-17 10:53:01 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-08-10 17:27:59 +0200 |
commit | bb0f6a34c4cebea7884de828c011dc85765ff820 (patch) | |
tree | 809a630ba606bac6b9050c97f9ecbccc7562244f /test/integration/test-apt-cache | |
parent | ecc138f858fab61e0b888d3d13854d1422c3432b (diff) |
just-in-time creation for (explicit) negative deps
Now that we deal with provides in a more dynamic fashion the last
remaining problem is explicit dependencies like 'Conflicts: foo' which
have to apply to all architectures, but creating them all at the same
time requires us to know all architectures ending up in the cache which
isn't needed to be the same set as all foreign architectures.
The effect is visible already now through as this prevents the creation
of a bunch of virtual packages for arch:all packages and as such also
many dependencies, just not very visible if you don't look at the stats…
Git-Dch Ignore
Diffstat (limited to 'test/integration/test-apt-cache')
-rwxr-xr-x | test/integration/test-apt-cache | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/test/integration/test-apt-cache b/test/integration/test-apt-cache index a8ddfd889..1d90eed5c 100755 --- a/test/integration/test-apt-cache +++ b/test/integration/test-apt-cache @@ -66,7 +66,6 @@ testsuccessequal 'foo testsuccessequal 'foo Depends: bar Conflicts: <foobar> - Conflicts: <foobar:i386> |Recommends: <cool> Recommends: <cooler>' aptcache depends foo --implicit testsuccessequal 'foo @@ -76,7 +75,6 @@ testsuccessequal 'foo testsuccessequal 'foo Depends: bar Conflicts: <foobar> - Conflicts: <foobar:i386> Recommends: <cool>' aptcache depends foo -o APT::Cache::ShowOnlyFirstOr=1 --implicit testsuccessequal 'foo Depends: bar @@ -86,7 +84,6 @@ testsuccessequal 'foo testsuccessequal 'foo Depends: bar Conflicts: <foobar> - Conflicts: <foobar:i386> |Recommends: <cool> (>= 2) Recommends: <cooler> (<< 5)' aptcache depends foo -o APT::Cache::ShowVersion=1 --implicit testsuccessequal 'foo @@ -94,15 +91,13 @@ testsuccessequal 'foo Conflicts: <foobar>' aptcache depends foo --no-recommends testsuccessequal 'foo Depends: bar - Conflicts: <foobar> - Conflicts: <foobar:i386>' aptcache depends foo --no-recommends --implicit + Conflicts: <foobar>' aptcache depends foo --no-recommends --implicit testsuccessequal 'foo Depends: bar' aptcache depends foo --important --implicit testsuccessequal 'foo Conflicts: <foobar>' aptcache depends foo --important --no-depends --conflicts testsuccessequal 'foo - Conflicts: <foobar> - Conflicts: <foobar:i386>' aptcache depends foo --important --no-depends --conflicts --implicit + Conflicts: <foobar>' aptcache depends foo --important --no-depends --conflicts --implicit testsuccessequal 'foo Depends: bar Conflicts: <foobar> @@ -118,17 +113,15 @@ bar testsuccessequal 'foo Depends: bar Conflicts: <foobar> - Conflicts: <foobar:i386> |Recommends: <cool> Recommends: <cooler> bar Depends: bar Breaks: foo - Breaks: <foo:i386> Replaces: foo + Breaks: <foo:i386> Replaces: <foo:i386> <foobar> -<foobar:i386> <cool> <cooler> <foo:i386>' aptcache depends foo --recurse --implicit @@ -151,8 +144,8 @@ testsuccessequal 'bar testsuccessequal 'bar Depends: bar Breaks: foo - Breaks: <foo:i386> Replaces: foo + Breaks: <foo:i386> Replaces: <foo:i386>' aptcache depends bar --implicit testsuccessequal 'specific Depends: <bar:i386> |