|
|
@ -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 |
|
|
|
|
|
|
|