<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/test/libapt/fileutl_test.cc, branch 1.1.9</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.1.9</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.1.9'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2015-12-19T11:51:10Z</updated>
<entry>
<title>Fix FileUtlTest.GetTempDir failure when run as root</title>
<updated>2015-12-19T11:51:10Z</updated>
<author>
<name>Pino Toscano</name>
<email>pino@debian.org</email>
</author>
<published>2015-12-19T11:09:18Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=dbbe1e6393dab381db0f48b2a645babdddb14eca'/>
<id>urn:sha1:dbbe1e6393dab381db0f48b2a645babdddb14eca</id>
<content type='text'>
Testing /usr as TMPDIR assumes that GetTempDir() cannot use it
because it cannot write to it; this is true for non-root users, but
not so much for root.

Since root can access everything, perform this particular test case
only when not running as root.

Closes: #808383
</content>
</entry>
<entry>
<title>ensure FileFd doesn't try to open /dev/null as atomic and co</title>
<updated>2015-11-04T17:42:28Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-11-02T15:02:44Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=cd46d4ebd33e74ee53bbc73dcdb7fe1d4d006558'/>
<id>urn:sha1:cd46d4ebd33e74ee53bbc73dcdb7fe1d4d006558</id>
<content type='text'>
The wrapping will fail in the best case and actually end up deleting
/dev/null in the worst case. Given that there is no point in trying to
write atomically to /dev/null as you can't read from it again just
ignore these flags if higher level code ends up trying to use them on
/dev/null.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>fileutl_test.cc: Check for /etc/passwd instead of /bin/sh</title>
<updated>2015-08-10T09:43:23Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-08-10T09:42:34Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=20cf708a62df5e4aa45a506819db425c6cc975fe'/>
<id>urn:sha1:20cf708a62df5e4aa45a506819db425c6cc975fe</id>
<content type='text'>
This fixes the tests on systems where usrmerge is installed.

Gbp-dch: ignore
</content>
</entry>
<entry>
<title>(style) Variable 'res' is assigned a value that is never used</title>
<updated>2014-11-08T13:26:00Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-11-05T17:56:12Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=23fb7b2cbbda62c99a199d29ad62205b23d35af4'/>
<id>urn:sha1:23fb7b2cbbda62c99a199d29ad62205b23d35af4</id>
<content type='text'>
Checking the return value of this (and many other calls) in this
testcase is a good idea, so we do it now.

Reported-By: cppcheck
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>Division by result of sizeof(). memset() expects a size in bytes</title>
<updated>2014-11-08T13:26:00Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-11-05T17:42:56Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ad5ffe1ffb203eb58e5e25fe6f4c0dabc53253c9'/>
<id>urn:sha1:ad5ffe1ffb203eb58e5e25fe6f4c0dabc53253c9</id>
<content type='text'>
"did you intend to multiply instead?" is what cppcheck helpful says and
it is absolutely right. Doesn't make a whole lot of a difference though
as we are talking about 'char' in this testcase, but just to be sure.

Reported-By: cppcheck
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>test if TMPDIR is accessible before using</title>
<updated>2014-10-20T12:42:47Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-10-20T10:00:46Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0d303f1764645284b33924c9be8bf29f0a32ca5c'/>
<id>urn:sha1:0d303f1764645284b33924c9be8bf29f0a32ca5c</id>
<content type='text'>
Private temporary directories as created by e.g. libpam-tmpdir are nice,
but they are also very effective in preventing our priviledge dropping
to work as TMPDIR will be set to a directory only root has access to, so
working with it as _apt will fail. We circumvent this by extending our
check for a usable TMPDIR setting by checking access rights.

Closes: 765951
</content>
</entry>
<entry>
<title>Merge branch 'feature/abspath' into feature/apt-install-deb</title>
<updated>2014-04-28T15:45:07Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@ubuntu.com</email>
</author>
<published>2014-04-28T15:45:07Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=713ee8ad3f4d7be00d2fbacd979e78772f24a675'/>
<id>urn:sha1:713ee8ad3f4d7be00d2fbacd979e78772f24a675</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix tests</title>
<updated>2014-04-28T15:44:34Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@ubuntu.com</email>
</author>
<published>2014-04-28T15:44:34Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=a111a024a30b805fc3f2b8a5b4db8d0c26c10fb8'/>
<id>urn:sha1:a111a024a30b805fc3f2b8a5b4db8d0c26c10fb8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'feature/abspath' into feature/apt-install-deb</title>
<updated>2014-04-28T15:25:28Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@ubuntu.com</email>
</author>
<published>2014-04-28T15:25:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=8e0002ac420707b94a8a43dfedea7fc182dd5851'/>
<id>urn:sha1:8e0002ac420707b94a8a43dfedea7fc182dd5851</id>
<content type='text'>
Conflicts:
	test/libapt/fileutl_test.cc
</content>
</entry>
<entry>
<title>add flAbsPath() as a wrapper to realpath()</title>
<updated>2014-04-28T15:24:35Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@ubuntu.com</email>
</author>
<published>2014-04-28T15:24:35Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=53ac87ac9c27af39df062516aab5dce880af107a'/>
<id>urn:sha1:53ac87ac9c27af39df062516aab5dce880af107a</id>
<content type='text'>
</content>
</entry>
</feed>
