diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-08-24 21:44:11 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-08-24 21:44:11 +0200 |
commit | 17ea77d3332ce3abbbc96a9e110a37ae055ac422 (patch) | |
tree | 611708d199721f5bca0ea4826d03da0016f3780d /test/integration/test-bug-591882-conkeror | |
parent | 7e32e3e58d5499056b17acd0a9992704e3f55951 (diff) | |
parent | 39ee79d5b84390ae79d8cce9389c1541bcd68a25 (diff) |
* merged from debian/unstable
* merge of the debian-expermental-ma branch
* refresh po/pot files in doc/ and po/
* Fix spelling error in cmdline/apt-get.cc. Thanks to Osamu Aoki
Closes: #594211
* Swedish (Daniel Nylander). Closes: #592366
* French (Christian Perrier)
* Thai (Theppitak Karoonboonyanan). Closes: #592695
* Russian (Yuri Kozlov). Closes: #594232
* French (Christian Perrier)
* apt-pkg/contrib/strutl.cc:
- fix error checking for vsnprintf in its safe variant
* methods/bzip2.cc:
- fix error checking for read in case of failing bzip2/lzma/whatever
* debian/apt.cron.daily:
- create backups for our extended_states file (Closes: #593430)
* apt-pkg/init.cc:
- set the default values for dir::etc::trusted options correctly
* ftparchive/writer.cc:
- init valid-until correctly to prevent garbage entering Release file
* apt-pkg/deb/debsystem.cc:
- set dir::state::status based at least on dir
* apt-pkg/deb/dpkgpm.cc:
- use the InstVer instead of the CurrentVer for the autobit transfer
* methods/http.cc:
- some http servers violate HTTP1.1 by not issuing a Reason-Phrase
(or at least a space after the code) especially for 200, but lets
be nice and ignore it as we don't need the reason in general
* apt-pkg/acquire-item.cc:
- don't use ReadOnlyGzip mode for PDiffs as this mode doesn't work
in combination with the AddFd methods of our hashclasses
Diffstat (limited to 'test/integration/test-bug-591882-conkeror')
-rwxr-xr-x | test/integration/test-bug-591882-conkeror | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/test/integration/test-bug-591882-conkeror b/test/integration/test-bug-591882-conkeror new file mode 100755 index 000000000..b1dbb3a0a --- /dev/null +++ b/test/integration/test-bug-591882-conkeror @@ -0,0 +1,75 @@ +#!/bin/sh +set -e + +local TESTDIR=$(readlink -f $(dirname $0)) +. $TESTDIR/framework +setupenvironment +configarchitecture "i386" +setupaptarchive + +UPGRADEFAIL="Reading package lists... +Building dependency tree... +The following packages will be REMOVED: + conkeror libdatrie0 libkrb53 libxcb-xlib0 xulrunner-1.9 +The following NEW packages will be installed: + gcc-4.4-base libavahi-client3 libavahi-common-data libavahi-common3 libc-bin + libdatrie1 libdb4.7 libdb4.8 libdbus-1-3 libgssapi-krb5-2 libjasper1 + libk5crypto3 libkrb5-3 libkrb5support0 liblzma2 libpam-modules libpam0g + libuuid1 libxcb-atom1 libxcb-aux0 libxcb-event1 libxml2 passwd + sensible-utils shared-mime-info xz-utils +The following packages will be upgraded: + coreutils debconf debconf-i18n debianutils defoma dpkg file fontconfig + fontconfig-config libacl1 libatk1.0-0 libattr1 libbz2-1.0 libc6 libcairo2 + libcomerr2 libcups2 libexpat1 libfontconfig1 libfreetype6 libgcc1 + libgcrypt11 libgdbm3 libglib2.0-0 libgnutls26 libgpg-error0 libgtk2.0-0 + libgtk2.0-common libhunspell-1.2-0 libice6 libjpeg62 libkeyutils1 + liblocale-gettext-perl libmagic1 libncurses5 libnewt0.52 libnspr4-0d + libnss3-1d libpango1.0-0 libpango1.0-common libpcre3 libpixman-1-0 + libpng12-0 libpopt0 libselinux1 libslang2 libsm6 libsqlite3-0 + libstartup-notification0 libstdc++6 libtasn1-3 libtext-charwidth-perl + libtext-iconv-perl libtext-wrapi18n-perl libthai-data libthai0 libtiff4 + libx11-6 libx11-data libxau6 libxcb-render-util0 libxcb-render0 libxcb1 + libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2 + libxi6 libxinerama1 libxrandr2 libxrender1 libxt6 lsb-base ncurses-bin perl + perl-base perl-modules readline-common sed ttf-dejavu-core ucf whiptail + x11-common zlib1g +87 upgraded, 26 newly installed, 5 to remove and 0 not upgraded. +Need to get 0B/54.4MB of archives. +After this operation, 12.4MB of additional disk space will be used. +E: Trivial Only specified but this is not a trivial operation." + +UPGRADESUCCESS="Reading package lists... +Building dependency tree... +The following packages will be REMOVED: + libdatrie0 libkrb53 libxcb-xlib0 xulrunner-1.9 +The following NEW packages will be installed: + gcc-4.4-base libasound2 libavahi-client3 libavahi-common-data + libavahi-common3 libc-bin libdatrie1 libdb4.7 libdb4.8 libdbus-1-3 + libgssapi-krb5-2 libjasper1 libk5crypto3 libkrb5-3 libkrb5support0 liblzma2 + libmozjs2d libpam-modules libpam0g libreadline6 libuuid1 libxcb-atom1 + libxcb-aux0 libxcb-event1 libxml2 passwd sensible-utils shared-mime-info + xulrunner-1.9.1 xz-utils +The following packages will be upgraded: + conkeror coreutils debconf debconf-i18n debianutils defoma dpkg file + fontconfig fontconfig-config libacl1 libatk1.0-0 libattr1 libbz2-1.0 libc6 + libcairo2 libcomerr2 libcups2 libexpat1 libfontconfig1 libfreetype6 libgcc1 + libgcrypt11 libgdbm3 libglib2.0-0 libgnutls26 libgpg-error0 libgtk2.0-0 + libgtk2.0-common libhunspell-1.2-0 libice6 libjpeg62 libkeyutils1 + liblocale-gettext-perl libmagic1 libncurses5 libnewt0.52 libnspr4-0d + libnss3-1d libpango1.0-0 libpango1.0-common libpcre3 libpixman-1-0 + libpng12-0 libpopt0 libselinux1 libslang2 libsm6 libsqlite3-0 + libstartup-notification0 libstdc++6 libtasn1-3 libtext-charwidth-perl + libtext-iconv-perl libtext-wrapi18n-perl libthai-data libthai0 libtiff4 + libx11-6 libx11-data libxau6 libxcb-render-util0 libxcb-render0 libxcb1 + libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2 + libxi6 libxinerama1 libxrandr2 libxrender1 libxt6 lsb-base ncurses-bin perl + perl-base perl-modules readline-common sed ttf-dejavu-core ucf whiptail + x11-common zlib1g +88 upgraded, 30 newly installed, 4 to remove and 0 not upgraded. +Need to get 0B/62.9MB of archives. +After this operation, 36.0MB of additional disk space will be used. +E: Trivial Only specified but this is not a trivial operation." + +# Test that the old behavior can be restored with the option +testequal "$UPGRADEFAIL" aptget dist-upgrade --trivial-only -o pkgProblemResolver::FixByInstall=0 +testequal "$UPGRADESUCCESS" aptget dist-upgrade --trivial-only #-o pkgProblemResolver::FixByInstall=0 |