~ubuntu-branches/ubuntu/trusty/apt/trusty

« back to all changes in this revision

Viewing changes to test/integration/test-bug-722207-print-uris-even-if-very-quiet

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2013-11-01 10:03:06 UTC
  • mfrom: (1.4.73 sid)
  • mto: (1.4.74 sid)
  • mto: This revision was merged to the branch mainline in revision 208.
  • Revision ID: package-import@ubuntu.com-20131101100306-2q5pugg4b93gn9h9
Tags: 0.9.13~exp1
* Improve the API for APT::Upgrade::Upgrade()
* Re-add "Calculating upgrade..." message
* move upgrade releated code into upgrade.{cc,h}
* Move ListUpdate/AquireUpdate into update.{cc,h}
* Add new apt-pkg/install-progress.h with APT::Progress::PackageManager
  progress reporting classes
* Move the status-fd progress reporting out of the pkgDPkgPM class
  and into PackageManagerProgressFd
* Fix reading dpkg --status-fd on reinstalls
* Add new APT::Status-deb822-Fd progress output
* add Acquire::http::Proxy-Auto-Detect to the apt.conf.5 manpage
  (closes: 726597)
* Fix detection when multiarch packages are reported by dpkg as
  disappeared Packages
* test/integration/run-tests: output the failed test names
* Code Cleanup in pkgDPkgPM
* prepare next ABI via #if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR >= 13)
* add new pid_t ExecFork(std::set<int> KeepFDs)
* Avoid flickering when "apt-get -o DpkgPM::Progress-Fancy=1" is use
* use sysconf(_SC_OPEN_MAX) in ExecFork()

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
set -e
 
3
 
 
4
TESTDIR=$(readlink -f $(dirname $0))
 
5
. $TESTDIR/framework
 
6
 
 
7
setupenvironment
 
8
configarchitecture 'amd64'
 
9
 
 
10
insertinstalledpackage 'apt' 'all' '1'
 
11
insertpackage 'unstable' 'apt' 'all' '2'
 
12
insertsource 'unstable' 'apt' 'all' '2'
 
13
insertsource 'unstable' 'apt2' 'all' '1'
 
14
 
 
15
setupaptarchive
 
16
 
 
17
APTARCHIVE=$(readlink -f ./aptarchive)
 
18
 
 
19
testequal "'file://${APTARCHIVE}/pool/main/apt/apt_2_all.deb' apt_2_all.deb 0 MD5Sum:" aptget upgrade -qq --print-uris
 
20
testequal "'file://${APTARCHIVE}/pool/main/apt/apt_2_all.deb' apt_2_all.deb 0 MD5Sum:" aptget dist-upgrade -qq --print-uris
 
21
testequal "'file://${APTARCHIVE}/pool/main/apt/apt_2_all.deb' apt_2_all.deb 0 MD5Sum:" aptget install apt -qq --print-uris
 
22
testequal "'file://${APTARCHIVE}/pool/main/apt/apt_2_all.deb' apt_2_all.deb 0 MD5Sum:" aptget download apt -qq --print-uris
 
23
testequal "'file://${APTARCHIVE}/apt_2.dsc' apt_2.dsc 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e
 
24
'file://${APTARCHIVE}/apt_2.tar.gz' apt_2.tar.gz 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e" aptget source apt -qq --print-uris
 
25
testequal "'http://packages.debian.org/changelogs/pool/main/apt/apt_2/changelog'" aptget changelog apt -qq --print-uris
 
26
 
 
27
testequal "'file://${APTARCHIVE}/apt_2.dsc' apt_2.dsc 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e
 
28
'file://${APTARCHIVE}/apt_2.tar.gz' apt_2.tar.gz 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e
 
29
'file://${APTARCHIVE}/apt2_1.dsc' apt2_1.dsc 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e
 
30
'file://${APTARCHIVE}/apt2_1.tar.gz' apt2_1.tar.gz 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e" aptget source apt apt2 -qq --print-uris