summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | |
| * | | | | | merged from apt--mvoMichael Vogt2008-02-083-0/+55
| |\ \ \ \ \ \
| * \ \ \ \ \ \ merged from apt-authentication-reliabilityMichael Vogt2008-02-041-3/+11
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | | |
| | * | | | | | add APT::Update::Auth-Failure scriptMichael Vogt2008-02-041-5/+13
| |/ / / / / /
| * | | | | | test/authReliability/sources.list.good:Michael Vogt2008-01-022-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add missing file to make the test/pre-upload-check.py work again apt-pkg/acquire-item.cc: - fix auth-reliable code when file:// uris are used test/pre-upload-check.py: - use the standard apt, not "../bin/apt-get" by default - make the error messages more useful on test-failure
| * | | | | | implement AptAuthenticationReliabtlity specMichael Vogt2007-12-218-3/+183
| | | | | | |
* | | | | | | merged from davids branchMichael Vogt2010-05-041-4/+4
|\ \ \ \ \ \ \
| * | | | | | | * apt-pkg/acquire-item.cc:David Kalnischkies2010-04-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Acquire::ForceHash to force method for expected hash - display MD5Sum in --print-uris if not forced to use another method instead of displaying the strongest available (Closes: #576420)
* | | | | | | | merged from the debian-sid branchMichael Vogt2010-05-041-0/+7
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | / | | |_|_|_|_|/ | |/| | | | |
| * | | | | | merge from the mvo branchMichael Vogt2010-05-041-0/+7
| |\ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | |
| | * | | | | merge r1966..1967 from lp:~donkult/apt/sidMichael Vogt2010-01-311-1/+1
| | | | | | |
| | * | | | | * apt-pkg/contrib/fileutl.cc:Michael Vogt2010-01-232-4/+128
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix the newly introduced method GetListOfFilesInDir to not accept every file if no extension is enforced (= restore old behaviour). (Closes: #565213) * apt-pkg/policy.cc: - accept also partfiles with "pref" file extension as valid * apt-pkg/contrib/configuration.cc: - accept also partfiles with "conf" file extension as valid * doc/apt.conf.5.xml: - reorder description and split out syntax - add partfile name convention (Closes: #558348) * doc/apt_preferences.conf.5.xml: - describe partfile name convention also here * apt-pkg/deb/dpkgpm.cc: - don't segfault if term.log file can't be opened. Thanks Sam Brightman for the patch! (Closes: #475770) * doc/*: - replace the per language addendum with a global addendum - add a explanation why translations include (maybe) english parts to the new global addendum (Closes: #561636) * apt-pkg/contrib/strutl.cc: - fix malloc asseration fail with ja_JP.eucJP locale in apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884)
| | * | | | merged -r 1920..1922 from lp:~donkult/apt/sidMichael Vogt2009-12-101-0/+10
| | | |_|/ | | |/| |
* | | | | * apt-pkg/deb/debversion.cc:David Kalnischkies2010-03-135-244/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - consider absent of debian revision equivalent to 0 (Closes: #573592) This moves the existing testcase for version comparison to "my" directory, adds a few more tests (e.g. the tests used in cupt) and rewrites the testcases runner: The runner does now call dpkg --compare-versions to check what dpkg thinks about the comparison - all done in less code ;)
* | | | | * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-03-122-0/+45
|/ / / / | | | | | | | | | | | | | | | | | | | | - if available store the Commandline in the history * apt-pkg/contrib/cmndline.cc: - save Commandline in Commandline::AsString for logging
* | | | * aptconfiguration.cc:David Kalnischkies2010-02-182-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - include all existing Translation files in the Cache (Closes: 564137) Previously if APT was executed with a different LC_* all these invocations needed to rebuild the Cache as too many files were included or missing: Now the lists-directory is checked for Translation-files and all these will be included in getLanguages() regardless of the environment setting (after a "none" so APT will not use them for displaying information).
* | | | dd support for the LANGUAGE environment variableDavid Kalnischkies2010-02-181-14/+47
| | | |
* | | | * apt-pkg/contrib/macros.h:David Kalnischkies2010-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | - move the header system.h with a new name to the public domain, to be able to use it in other headers (Closes: #567662)