<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/test/libapt, branch 1.4_beta1</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.4_beta1</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.4_beta1'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2016-11-24T23:15:13Z</updated>
<entry>
<title>optional write aptwebserver log to client specific files</title>
<updated>2016-11-24T23:15:13Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-11-24T11:14:39Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e1ae0531bfad0fce8590c26d1e38825df22d812a'/>
<id>urn:sha1:e1ae0531bfad0fce8590c26d1e38825df22d812a</id>
<content type='text'>
The test test-handle-redirect-as-used-mirror-change serves multiple
clients at the same time, so the order of the output is undefined and
once in a while the two clients will intermix their lines causing the
grep we perform on it later to fail making our tests fail.

Solved by introducing client-specific logfiles which we all grep and
sort the result to have the results more stable.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>follow the googletest merge in build-depends</title>
<updated>2016-11-24T23:15:13Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-11-18T11:12:51Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0123ce7171b09ead5a07567fbd33c53f609f6560'/>
<id>urn:sha1:0123ce7171b09ead5a07567fbd33c53f609f6560</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not read stderr from proxy autodetection scripts</title>
<updated>2016-10-04T17:30:30Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-10-02T15:20:33Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0ecceb5bb9cc8727c117195945b7116aceb984fe'/>
<id>urn:sha1:0ecceb5bb9cc8727c117195945b7116aceb984fe</id>
<content type='text'>
This fixes a regression introduced in
  commit 8f858d560e3b7b475c623c4e242d1edce246025a

  don't leak FD in AutoProxyDetect command return parsing

which accidentally made the proxy autodetection code also read
the scripts output on stderr, not only on stdout when it switched
the code from popen() to Popen().

Reported-By: Tim Small &lt;tim@seoss.co.uk&gt;
</content>
</entry>
<entry>
<title>CMake: test/libapt: Use a prebuilt GTest library if available</title>
<updated>2016-09-02T12:34:37Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-09-02T12:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=99ba7cc1901c761c97d67775f23858b86594f2ba'/>
<id>urn:sha1:99ba7cc1901c761c97d67775f23858b86594f2ba</id>
<content type='text'>
If a non-existing source directory is specified, try finding
the system gtest library. Debian derived distributions are
a bit strange because they only ship the source code and
not the library...
</content>
</entry>
<entry>
<title>tests: silence -Wmissing-declarations</title>
<updated>2016-09-01T14:13:32Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-09-01T06:49:22Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=d8a57c1953b876917a9deb098d1ef3d2b093f3dc'/>
<id>urn:sha1:d8a57c1953b876917a9deb098d1ef3d2b093f3dc</id>
<content type='text'>
Gbp-Dch: Ignore
Reported-By: gcc -Wmissing-declarations
</content>
</entry>
<entry>
<title>tests: don't do boundless string compares with data()</title>
<updated>2016-08-12T09:56:21Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-08-12T09:27:19Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=5404685b66b92f93da7ded5f8fe44fbabea38ba4'/>
<id>urn:sha1:5404685b66b92f93da7ded5f8fe44fbabea38ba4</id>
<content type='text'>
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>ensure a good clock() value for usage and tests</title>
<updated>2016-08-12T09:12:10Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-08-12T08:02:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=379a36f43d3f4db4afa5ad4fb6f79b89824c999c'/>
<id>urn:sha1:379a36f43d3f4db4afa5ad4fb6f79b89824c999c</id>
<content type='text'>
We use clock() as a very cheap way of getting a "random" value, but the
manpage warns that this could return -1, so we should be dealing with
this. Additionally, e.g. on hurd-i386 the value increases only slowly –
to slow for our fast running tests for randomness hence producing the
same range in both samples, so we introduce a simple busy-wait loop (as
clock is counting processor time used by the program) in the test which
delays the second sample just enough making our randomness a bit more
predictable.
</content>
</entry>
<entry>
<title>don't perform int&lt;float in progress bar drawing</title>
<updated>2016-08-12T09:12:04Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-08-12T07:07:59Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=1cb047079aa2c26a8159d100348b7e69a49bc117'/>
<id>urn:sha1:1cb047079aa2c26a8159d100348b7e69a49bc117</id>
<content type='text'>
Comparing floating numbers is always fun and in this instance a 9 &lt; 9.0
is "somehow" true on hurd-i386 letting the tests fail by reporting that
too much progress achieved. A bit mysterious, but with some rework we
can use code which avoids dealing with the floats in this way entirely
and make our testcases happy.
</content>
</entry>
<entry>
<title>allow user@host (aka: no password) in URI parsing</title>
<updated>2016-08-10T21:20:15Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-08-01T19:45:29Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=a1f3ac8aba0675321dd46d074af8abcbb10c19fd'/>
<id>urn:sha1:a1f3ac8aba0675321dd46d074af8abcbb10c19fd</id>
<content type='text'>
If the URI had no password the username was ignored
</content>
</entry>
<entry>
<title>Get rid of the old buildsystem</title>
<updated>2016-08-10T14:17:19Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-08-09T15:40:01Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=c85c4bed0a4b32ee2dcbd86ea819e39f3d8beb84'/>
<id>urn:sha1:c85c4bed0a4b32ee2dcbd86ea819e39f3d8beb84</id>
<content type='text'>
Bye, bye, old friend.
</content>
</entry>
</feed>
