<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/test/libapt/run-tests, branch master</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=master</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2014-04-16T16:36:14Z</updated>
<entry>
<title>use Google C++ Testing Framework for libapt tests</title>
<updated>2014-04-16T16:36:14Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-04-16T15:09:37Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f00832cc273e52a47fb88e49849891b771de4e17'/>
<id>urn:sha1:f00832cc273e52a47fb88e49849891b771de4e17</id>
<content type='text'>
My commit 45df0ad2 from 26. Nov 2009 had a little remark:
"The commit also includes a very very simple testapp."
This was never intended to be permanent, but as usually…

The commit adds the needed make magic to compile gtest statically
as it is required and links it against a small runner. All previous
testcase binaries are reimplemented in gtest and combined in this
runner. While most code is a 1:1 translation some had to be rewritten
like compareversion_test.cc, but the coverage remains the same.
</content>
</entry>
<entry>
<title>clear HitEof flag in FileFd::Seek</title>
<updated>2014-04-16T15:04:17Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-04-15T08:21:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=bb93178b8b5c2f8021977dbc34066f0d0fb8b9b9'/>
<id>urn:sha1:bb93178b8b5c2f8021977dbc34066f0d0fb8b9b9</id>
<content type='text'>
fseek and co do this to their eof-flags and it is more logic this way as
we will usually seek away from the end (e.g. to re-read the file).

The commit also improves the testcase further and adds a test for the
binary compressor codepath (as gz, bzip2 and xz are handled by
libraries) via the use of 'rev' as a 'compressor'.
</content>
</entry>
<entry>
<title>support very long mtab entries in mountpoint discovery</title>
<updated>2014-03-13T12:58:46Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-03-10T00:49:37Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=12844170ad33d96cb0c5fa411f4eb62fea6e3d5d'/>
<id>urn:sha1:12844170ad33d96cb0c5fa411f4eb62fea6e3d5d</id>
<content type='text'>
Old code limited lines to 250 characters which is probably enough for
everybody, but who knows… It also takes care of device nodes which start
with the same prefix.
</content>
</entry>
<entry>
<title>set MALLOC_CHECK_ and MALLOC_PERTURB_ for testcases</title>
<updated>2013-08-15T15:39:24Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-08-15T14:45:09Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=037374fe7260c104771d1b6d31c36a98385c2365'/>
<id>urn:sha1:037374fe7260c104771d1b6d31c36a98385c2365</id>
<content type='text'>
In bugreport deb:719629 Paul Wise mentions both to enable some malloc
checks and as more testing can't hurt we enable both for all testcases.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>rework the parameter creation for the Hashsum test</title>
<updated>2013-08-15T15:39:24Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-08-15T14:41:16Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ca6ab6e37c101f21066d1522c6e9c202856842ca'/>
<id>urn:sha1:ca6ab6e37c101f21066d1522c6e9c202856842ca</id>
<content type='text'>
Avoids having to different places from which test binaries are called

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>do not call make from libapt/run-tests if its called by make</title>
<updated>2013-08-15T15:39:24Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-08-15T14:36:32Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1b32290b2e63fa96a3f27c75af04d14d713c4884'/>
<id>urn:sha1:1b32290b2e63fa96a3f27c75af04d14d713c4884</id>
<content type='text'>
If we are called by make everything is build already and
so this is just a noise nop we can just skip.
(Noisy as it complains about being unable to communicate with
 the other makes to coordinate with the jobserver)

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>* test/libapt/assert.h, test/libapt/run-tests:</title>
<updated>2013-03-17T18:51:02Z</updated>
<author>
<name>Michael Vogt</name>
<email>michael.vogt@ubuntu.com</email>
</author>
<published>2013-03-17T18:51:02Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=d4ddc5b94d6abbd33a3001d27ff5d9698be3f820'/>
<id>urn:sha1:d4ddc5b94d6abbd33a3001d27ff5d9698be3f820</id>
<content type='text'>
  - exit with status 1 on test failure</content>
</entry>
<entry>
<title>* apt-pkg/aptconfiguration.cc:</title>
<updated>2012-05-20T16:58:37Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2012-05-20T16:58:37Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=527df5a20dbe8ce98fcbf1ffe28bb37ff2257a97'/>
<id>urn:sha1:527df5a20dbe8ce98fcbf1ffe28bb37ff2257a97</id>
<content type='text'>
  - longcode Translation files are saved with encoded underscore,
    so make sure to pick these files up as well for Acquire::Languages</content>
</entry>
<entry>
<title>use the variables as the rest of the tests to avoid escapes in the output</title>
<updated>2012-03-22T12:42:59Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2012-03-22T12:42:59Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b058a788c4f976ea98e20b853853929f47d4bc3e'/>
<id>urn:sha1:b058a788c4f976ea98e20b853853929f47d4bc3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>* test/libapt/run-tests:</title>
<updated>2012-01-20T01:00:48Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2012-01-20T01:00:48Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=809cf6d22a9bb72061aedf2670c78b57d9da6999'/>
<id>urn:sha1:809cf6d22a9bb72061aedf2670c78b57d9da6999</id>
<content type='text'>
  - hurd doesn't have dmesg yet and we don't really need it either,
    so use with $0 a more stable data source for hashsumming</content>
</entry>
</feed>
