]>
git.saurik.com Git - apt.git/blob - test/integration/test-changelog
b5c204a531ccc653bbd13a6cb5e3bcd5da852f22
4 TESTDIR
=$(readlink -f $(dirname $0))
8 configarchitecture
"i386"
10 buildsimplenativepackage
'apt' 'all' '1.0' 'stable'
16 echo 'Apt::Changelogs::Server "http://localhost:8080/";' >> .
/aptconfig.conf
18 testequal
"'http://localhost:8080//pool/apt_1.0/changelog'" aptget changelog apt
--print-uris
20 aptget changelog apt
-qq > apt.changelog
21 testfileequal
'apt.changelog' "$(cat aptarchive/pool/apt_1.0/changelog)"
22 rm aptarchive
/pool
/apt_1.0
/changelog
24 aptget changelog apt
-qq -o APT
::Changelogs
::Server
='http://not-on-the-main-server:8080/' > apt.changelog
25 testfileequal
'apt.changelog' "$(cat aptarchive/pool/apt_1.0.changelog)"
26 rm aptarchive
/pool
/apt_1.0.changelog
28 testequal
'E: changelog download failed' aptget changelog apt
-qq -o APT
::Changelogs
::Server
='http://not-on-the-main-server:8080/'