diff options
author | Michael Vogt <mvo@debian.org> | 2014-01-20 07:43:17 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-01-20 07:50:46 +0100 |
commit | e67b9a23d7646d2f1e21bf4039fa71cc66b628c5 (patch) | |
tree | b65ab991db89a7a7398cb328aba3dcbbe2ba099a /test | |
parent | 6c069a2247781754bcc8574687cb98b493c6ab8a (diff) | |
download | apt-e67b9a23d7646d2f1e21bf4039fa71cc66b628c5.tar.gz |
add Description tag for deb822 sources
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/test-apt-sources-deb822 | 6 | ||||
-rw-r--r-- | test/libapt/sourcelist_test.cc | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/integration/test-apt-sources-deb822 b/test/integration/test-apt-sources-deb822 index c73b942d4..34708d2d1 100755 --- a/test/integration/test-apt-sources-deb822 +++ b/test/integration/test-apt-sources-deb822 @@ -23,12 +23,11 @@ Type: deb URI: http://ftp.debian.org/debian Suites: stable Sections: main -Comment: Some random string - that can be very long" +Description: summay + and the long part" # simple case echo "$BASE" > $SOURCES - testequalwithmsg "Simple deb822 sources.list works" "'http://ftp.debian.org/debian/dists/stable/main/binary-i386/Packages.bz2' ftp.debian.org_debian_dists_stable_main_binary-i386_Packages 0 : 'http://ftp.debian.org/debian/dists/stable/main/i18n/Translation-en.bz2' ftp.debian.org_debian_dists_stable_main_i18n_Translation-en 0 : 'http://ftp.debian.org/debian/dists/stable/InRelease' ftp.debian.org_debian_dists_stable_InRelease 0 " aptget update --print-uris @@ -75,3 +74,4 @@ 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 + diff --git a/test/libapt/sourcelist_test.cc b/test/libapt/sourcelist_test.cc index ae5d11f66..b9dd47207 100644 --- a/test/libapt/sourcelist_test.cc +++ b/test/libapt/sourcelist_test.cc @@ -26,8 +26,8 @@ int main(int argc, char *argv[]) "URI: http://ftp.debian.org/debian\n" "Suites: stable\n" "Sections: main\n" - "Comment: Some random string\n" - " that can be very long\n" + "Description: short\n" + " long description that can be very long\n" "\n" "Type: deb\n" "URI: http://ftp.debian.org/debian\n" |