]>
git.saurik.com Git - apt.git/blob - test/integration/test-changelog
4 TESTDIR
=$(readlink -f $(dirname $0))
8 configarchitecture
"i386"
10 # this will be valid until ubuntu lucid is EOL (04/2015)
11 pkgchangelogtest
="Package: apt
13 Version: 0.7.25.3ubuntu7
14 Filename: pool/main/a/apt/apt_0.7.25.3ubuntu7_i386.deb
17 cat <<-EOF >aptarchive/Packages
23 echo "Apt::Changelogs::Server \"http://changelogs.ubuntu.com/\";" >> .
/aptconfig.conf
24 msgnmsg
"apt-get changelog: "
25 aptget changelog apt
-qq > downloaded
-changelog
26 expected
="apt (0.7.25.3ubuntu7) lucid; urgency=low"
27 got
="$(head -n1 downloaded-changelog)"
28 if [ -s downloaded
-changelog ] && [ "$got" = "$expected" ]; then
32 msgwarn
"$got != $expected"