summaryrefslogtreecommitdiff
path: root/test/integration/test-sourceslist-arch-plusminus-options
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-07-20 09:03:09 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-07-22 16:04:36 +0200
commite8e5d464623f1c2e1ef96b14e622728bbf4b89af (patch)
treef6fbf65515d407298d03b6584529f0d990f16739 /test/integration/test-sourceslist-arch-plusminus-options
parent36d5299aacb950aeb8cb117fa603abb21643d844 (diff)
allow arch=all to override No-Support-for-Architecture-all
If a user explicitly requests the download of arch:all apt shouldn't get in the way and perform its detection dance if arch:all packages are (also) in arch:any files or not. This e.g. allows setting arch=all on a source with such a field (or one which doesn't support all at all, but has the arch:all files like Debian itself ATM) to get only the arch:all packages from there instead of behaving like a no-op. Reported-By: Helmut Grohne on IRC
Diffstat (limited to 'test/integration/test-sourceslist-arch-plusminus-options')
-rwxr-xr-xtest/integration/test-sourceslist-arch-plusminus-options3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/test-sourceslist-arch-plusminus-options b/test/integration/test-sourceslist-arch-plusminus-options
index 0ce4aa9f1..fdf33cc8c 100755
--- a/test/integration/test-sourceslist-arch-plusminus-options
+++ b/test/integration/test-sourceslist-arch-plusminus-options
@@ -89,3 +89,6 @@ testbinaries 'substract all from arch-set' 'i386'
echo 'deb [arch=i386 arch+=all] http://example.org/debian stable rocks' > rootdir/etc/apt/sources.list
testbinaries 'useless addition of all' 'i386' 'all'
+
+echo 'deb [arch=all] http://example.org/debian stable rocks' > rootdir/etc/apt/sources.list
+testbinaries 'explicit all' 'all'