summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-sources-deb822
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-20 07:59:11 +0100
committerMichael Vogt <mvo@debian.org>2014-01-20 07:59:11 +0100
commit7dd62ea93413a73b4ec394b16ff4e0367d226395 (patch)
treef92d6cdb76eb4db2d0ddbb7c4a18bb516e35edd3 /test/integration/test-apt-sources-deb822
parente67b9a23d7646d2f1e21bf4039fa71cc66b628c5 (diff)
add support for Enabled: no in deb822 sources.list
Diffstat (limited to 'test/integration/test-apt-sources-deb822')
-rwxr-xr-xtest/integration/test-apt-sources-deb8224
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/test-apt-sources-deb822 b/test/integration/test-apt-sources-deb822
index 34708d2d1..f461314e6 100755
--- a/test/integration/test-apt-sources-deb822
+++ b/test/integration/test-apt-sources-deb822
@@ -75,3 +75,7 @@ Suites: stable
testequalwithmsg "Invalid deb822 sources.list file gives proper error" "E: Malformed stanza 0 in source list $TMPWORKINGDIRECTORY/rootdir/etc/apt/sources.list (URI parse)
E: The list of sources could not be read." aptget update --print-uris
+# with Enabled: false
+echo "$BASE" > $SOURCES
+echo "Enabled: no" >> $SOURCES
+testempty aptget update --print-uris