summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* * cmdline/apt-key:David Kalnischkies2010-09-041-0/+1
| | | | - support also Dir::Etc::Trusted so that apt-key works in the same way as the library part which works with the trusted files
* do the right thing(TM) even if the (unfinished) testcase is namedDavid Kalnischkies2010-09-021-2/+2
| | | | skip-* instead of test-* to avoid calling him with run-tests
* show only the basename of the running testDavid Kalnischkies2010-09-021-3/+3
|
* set the quiet value for apt-cache so the tests will actually seeDavid Kalnischkies2010-09-021-1/+1
| | | | the notices as they will not be shown otherwise
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-09-021-2/+2
| | | | | | | - create Dir::Log if needed to support /var/log as tmpfs or similar, inspired by Thomas Bechtold, thanks! (Closes: #523919, LP: #220239) Easily done by moving a private method from pkgAcquire into the public area of fileutl.cc to be able to use it also in here
* add wrapper around dpkg to be able to use it easily in the testsDavid Kalnischkies2010-09-021-0/+7
|
* * apt-pkg/contrib/configuration.cc:David Kalnischkies2010-08-281-0/+31
| | | | - fix autoremove by using correct config-option name and don't make faulty assumptions in error handling (Closes: #594689)
* * apt-pkg/acquire-item.cc:David Kalnischkies2010-08-215-15/+296
| | | | | | | - don't use ReadOnlyGzip mode for PDiffs as this mode doesn't work in combination with the AddFd methods of our hashclasses Add also 2 testcases: one to test pdiffs in general and one to test the handling of compressed indexes.
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-08-202-7/+101
| | | | | - use the InstVer instead of the CurrentVer for the autobit transfer Add also a small testcase to check the handling automatical
* sign the created Release files with our own dummy key "Joe Sixpack"David Kalnischkies2010-08-193-3/+12
|
* setup the environment correctly for dpkg, tooDavid Kalnischkies2010-08-181-6/+13
|
* extend the magic which creates the test archive by using FileLists toDavid Kalnischkies2010-08-181-28/+91
| | | | ship the build packages in the correct distribution and section
* add proper MSGLEVEL handling by overriding methods dynamicDavid Kalnischkies2010-08-181-5/+31
|
* implement the first round of automated dummy package building andDavid Kalnischkies2010-08-184-10/+125
| | | | archive building
* add finally my very small testcase for the conkeror problem resultingDavid Kalnischkies2010-08-153-0/+3219
| | | | in the FixByInstall code we currently "experiment" with
* fix testcase framework to test correctly for virtual packagesDavid Kalnischkies2010-08-141-4/+4
|
* add a small script to automate the task of creating Packages and statusDavid Kalnischkies2010-08-142-1/+38
| | | | files for tests with "real" problems
* remove the temporary compare files we createDavid Kalnischkies2010-07-291-0/+3
|
* configure also the replacement before remove by adding Immediate flagDavid Kalnischkies2010-07-293-15/+102
|
* * apt-pkg/orderlist.cc:David Kalnischkies2010-07-283-0/+191
| | | | - try to install another or-group member in DepRemove before breaking the or group (Closes: #590438)
* auto-install Packages and status file of the testcaseDavid Kalnischkies2010-07-281-2/+14
|
* Strip the .sh extension from the libapt testrunner andDavid Kalnischkies2010-07-251-5/+6
| | | | make it a bit more robust against calling from outside
* - prefer non-virtual packages in FindPreferredPkg (Closes: #590041)David Kalnischkies2010-07-253-0/+229
| | | | * test/integration/*: - add with bug#590041 testcase a small test "framework"
* [ Martin Pitt ]David Kalnischkies2010-07-111-0/+226
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * debian/rules: - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right CXXFLAGS. * apt-pkg/contrib/fileutl.{h,cc}: - Add support for reading of gzipped files with the new "ReadOnlyGzip" OpenMode. (Closes: #188407) - Link against zlib (in apt-pkg/makefile) and add zlib build dependency. - [ABI BREAK] This adds a new private member to FileFd, but its initialization is in the public header file. * configure.in: - Check for zlib library and headers. * apt-pkg/acquire-item.cc, apt-pkg/deb/debindexfile.cc, apt-pkg/deb/debrecords.cc, apt-pkg/deb/debsrcrecords.h, cmdline/apt-cache.cc: - Open Packages, Sources, and Translations indexes in "ReadOnlyGzip" mode. * apt-pkg/deb/debindexfile.cc: - If we do not find uncompressed package/source/translation indexes, look for gzip compressed ones. * apt-pkg/acquire-item.cc: - If the Acquire::GzipIndexes option is true and we download a gzipped index file, keep it as it is (and rename to .gz) instead of uncompressing it. * doc/apt.conf.5.xml: - Document the new Acquire::GzipIndexes option. * doc/po/apt-doc.pot, doc/po/de.po: - German translation of new Acquire::GzipIndexes option. * Add test/test-indexes.sh: - Test behaviour of index retrieval and usage, in particular with uncompressed and gzip compressed indexes. * methods/gzip.cc: With FileFd now being able to read gzipped files, there is no need for the gzip method any more to spawn an external gzip process. Rewrite it to use FileFd directly, which makes the code a lot simpler, and also using less memory and overhead.
| * test-indexes.sh: EXFAIL: file:/ URIs currently decompress even with the ↵martin@piware.de2010-06-241-1/+3
| | | | | | | | GzipIndexes option; not a big deal for now
| * test-indexes.sh: Test handling of local file:// archivesmartin@piware.de2010-06-241-3/+34
| |
| * test-indexes.sh: quiesce apt-get source; we know that we cannot verify ↵martin@piware.de2010-06-171-1/+2
| | | | | | | | package signatures
| * test-indexes.sh: Also test compressed index mode with apt.conf.d filemartin@piware.de2010-06-171-2/+27
| |
| * test-indexes.sh: Just for paranoia, test that apt-cache is still working ↵martin@piware.de2010-06-171-0/+4
| | | | | | | | after apt-get update with previously existing indexes
| * test-indexes.sh: fix check_indexes call in compressed modemartin@piware.de2010-06-171-2/+2
| |
| * test-indexes.sh: Actually test for non/pre-existing indexes in compressed modemartin@piware.de2010-06-171-3/+4
| |
| * test-indexes: Use /etc/apt from temporary work dir, not from systemmartin@piware.de2010-06-171-2/+8
| |
| * test-indexes.sh: Refactor common code into functionsmartin@piware.de2010-06-171-74/+81
| |
| * test-indexes.sh: More verbose failures on wrong/missing indexesmartin@piware.de2010-06-171-25/+28
| |
| * test/test-indexes.sh: Stop hardcoding archive gpg key ID, get it from first ↵martin@piware.de2010-06-151-4/+7
| | | | | | | | failed apt-get update output
| * test-indexes.sh: Add source related tests, which uncovers two regressionsmartin@piware.de2010-06-111-2/+39
| |
| * * Add test/test-indexes.sh:martin@piware.de2010-06-101-0/+106
| | | | | | | | - Test behaviour of index retrieval and usage, in particular with uncompressed and gzip compressed indexes.
* | extends the ParseDepends testcase to have a look also at the WildcardsDavid Kalnischkies2010-07-051-0/+68
| |
* | add a simple stack handling to be able to delay error handlingDavid Kalnischkies2010-06-252-2/+85
| |
* | merged from lp:~donkult/apt/sidMichael Vogt2010-06-095-0/+82
|\ \
| * \ - backport forgotten Valid-Until patch from the obsolete experimentalDavid Kalnischkies2010-06-092-0/+15
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | branch to prevent replay attacks better, thanks to Thomas Viehmann for the initial patch! (Closes: #499897) * doc/apt.conf.5.xml: - document the new Valid-Until related options * apt-pkg/contrib/strutl.cc: - split StrToTime() into HTTP1.1 and FTP date parser methods and use strptime() instead of some self-made scanf mangling - use the portable timegm shown in his manpage instead of a strange looking code copycat from wget * ftparchive/writer.cc: - add ValidTime option to generate a Valid-Until header in Release file
| | * | * apt-pkg/indexrecords.cc:David Kalnischkies2010-06-082-0/+15
| | | | | | | | | | | | | | | | | | | | - backport forgotten Valid-Until patch from the obsolete experimental branch to prevent replay attacks better, thanks to Thomas Viehmann for the initial patch! (Closes: #499897)
| * | | create the bin-test directory automatic in the runnerDavid Kalnischkies2010-05-281-0/+1
| | | |
| * | | * apt-pkg/aptconfiguration.cc:David Kalnischkies2010-05-282-0/+66
| |/ / | | | | | | - remove duplicate architectures in getArchitectures()
* | | * merge the remaining Ubuntu change:Michael Vogt2010-06-099-3/+195
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - on gpg verification failure warn and restore the last known good state - on failure display the IP of the server (useful for servers that use round robin DNS) - support Original-Maintainer in RewritePackageOrder - enable cdrom autodetection via libudev by default - show messsage about Vcs in use when apt-get source is run for packages maintained in a Vcs - better support transitional packages with mark auto-installed. when the transitional package is in "oldlibs" the new package is not marked auto installed (same is true for section metapackages) - provide new "deb mirror://archive.foo/mirrors.list sid main" method expects a list of mirrors (generated on the server e.g. via geoip) and will use that, including cycle on failure - write apport crash file on package failure (disabled by default on debian until apport is available) - support mirror failure reporting (disabled by default on debian)
| * | merged from the mvo branchMichael Vogt2010-02-173-5/+129
| |\ \
| * \ \ * Merged from the mvo branchMichael Vogt2009-12-181-0/+10
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merged from the lp:~mvo/apt/history branch * Fix apt-ftparchive(1) wrt description of the "-o" option. Thanks to Dann Frazier for the patch. Closes: #273100 * po/LINGUAS. Re-disable Hebrew. Closes: #534992 * po/LINGUAS. Enable Asturian and Lithuanian * Fix typo in apt-cache.8.xml: nessasarily * Fix "with with" in apt-get.8.xml * Fix some of the typos mentioned by the german team Closes: #479997 * Polish translation update by Wiktor Wandachowicz Closes: #548571 * German translation update by Holger Wansing Closes: #551534 * Italian translation update by Milo Casagrande Closes: #555797 * Simplified Chinese translation update by Aron Xu Closes: #558737 * Slovak translation update by Ivan Masár Closes: #559277 * apt-pkg/packagemanager.cc: - add output about pre-depends configuring when debug::pkgPackageManager is used * methods/https.cc: - fix incorrect use of CURLOPT_TIMEOUT, closes: #497983, LP: #354972 thanks to Brian Thomason for the patch * merge lp:~mvo/apt/netrc branch, this adds support for a /etc/apt/auth.conf that can be used to store username/passwords in a "netrc" style file (with the extension that it supports "/" in a machine definition). Based on the maemo git branch (Closes: #518473) (thanks also to Jussi Hakala and Julian Andres Klode) * apt-pkg/deb/dpkgpm.cc: - add "purge" to list of known actions * apt-pkg/init.h: - add compatibility with old ABI name until the next ABI break * merge segfault fix from Mario Sanchez Prada, many thanks (closes: #561109) * apt-pkg/depcache.cc, apt-pkg/indexcopy.cc: - typo fix (LP: #462328) * cmdline/apt-key: - Emit a warning if removed keys keyring is missing and skip associated checks (LP: #218971) * apt-pkg/packagemanager.cc: - better debug output for ImmediateAdd with depth and why - improve the message shown for failing immediate configuration * doc/guide.it.sgml: moved to doc/it/guide.it.sgml * doc/po4a.conf: activate translation of guide.sgml and offline.sgml * doc/apt.conf.5.xml: - provide a few more details about APT::Immediate-Configure - briefly document the behaviour of the new https options * doc/sources.list.5.xml: - add note about additional apt-transport-methods * doc/apt-mark.8.xml: - correct showauto synopsis, thanks Andrew Schulman (Closes: #551440) * cmdline/apt-get.cc: - source should display his final pkg pick (Closes: #249383, #550952) - source doesn't need the complete version for match (Closes: #245250) - source ignores versions/releases if not available (Closes: #377424) - only warn if (free) space overflows (Closes: #522238) - add --debian-only as alias for --diff-only * methods/connect.cc: - display also strerror of "wicked" getaddrinfo errors - add AI_ADDRCONFIG to ai_flags as suggested by Aurelien Jarno in response to Bernhard R. Link, thanks! (Closes: #505020) * buildlib/configure.mak, buildlib/config.{sub,guess}: - remove (outdated) config.{sub,guess} and use the ones provided by the new added build-dependency autotools-dev instead * configure.in, buildlib/{xml,yodl,sgml}_manpage.mak: - remove the now obsolete manpage buildsystems * doc/{pl,pt_BR,es,it}/*.{sgml,xml}: - convert all remaining translation to the po4a system * debian/control: - drop build-dependency on docbook-utils and xmlto - add build-dependency on autotools-dev - bump policy to 3.8.3 as we have no outdated manpages anymore * debian/NEWS: - fix a typo in 0.7.24: Allready -> Already (Closes: #557674) * ftparchive/writer.{cc,h}: - add APT::FTPArchive::LongDescription to be able to disable them * apt-pkg/deb/debsrcrecords.cc: - use "diff" filetype for .debian.tar.* files (Closes: #554898) * methods/rred.cc: - rewrite to be able to handle even big patch files - adopt optional mmap+iovec patch from Morten Hustveit (Closes: #463354) which should speed up a bit. Thanks! * methods/http{,s}.cc - add config setting for User-Agent to the Acquire group, thanks Timothy J. Miller! (Closes: #355782) - add https options which default to http ones (Closes: #557085) * debian/apt.cron.daily: - check cache size even if we do nothing else otherwise, thanks Francesco Poli for patch(s) and patience! (Closes: #459344) * ftparchive/*: - fix a few typos in strings, comments and manpage, thanks Karl Goetz! (Closes: #558757) * cmdline/apt-mark: - print an error if a new state file can't be created (Closes: #521289) and - exit nicely if python-apt is not installed (Closes: #521284) * doc/de: German translation of manpages (Closes: #552606) * doc/ various manpages: - correct various errors, typos and oddities (Closes: #552535) * doc/apt-secure.8.xml: - replace literal with emphasis tags in Archive configuration * doc/apt-ftparchive.1.xml: - remove informalexample tag which hides the programlisting * doc/apt-get.8.xml: - change equivalent "for" to "to the" (purge command) - clarify --fix-broken sentence about specifying packages * apt-pkg/contib/strutl.h - Avoid extra inner copy in APT_MKSTRCMP and APT_MKSTRCMP2. * build infrastructure: - Bumped libapt version, excluded eglibc from SONAME. (Closes: #448249) * doc/apt.conf.5.xml: - Deprecate unquoted values, string concatenation and explain what should not be written inside a value (quotes,backslash). - Restrict option names to alphanumerical characters and "/-:._+". - Deprecate #include, we have apt.conf.d nowadays which should be sufficient. * ftparchive/apt-ftparchive.cc: - Call setlocale() so translations are actually used. * debian/apt.conf.autoremove: - Add kfreebsd-image-* to the list (Closes: #558803)
| * \ \ \ merged from debianMichael Vogt2009-07-302-0/+25
| |\ \ \ \
| * \ \ \ \ merged from apt-authentication-reliablityMichael Vogt2008-02-081-5/+6
| |\ \ \ \ \
| | * | | | | make the test-suit more reliableMichael Vogt2008-02-081-5/+6
| | | | | | |