<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git/tests, branch v2.0.0</title>
<subtitle>A mirror of http://git.infradead.org/mtd-utils.git</subtitle>
<id>https://git.infraroot.at/mtd-utils.git/atom?h=v2.0.0</id>
<link rel='self' href='https://git.infraroot.at/mtd-utils.git/atom?h=v2.0.0'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/'/>
<updated>2016-12-13T17:47:25+00:00</updated>
<entry>
<title>Fix packaging of unit test files</title>
<updated>2016-12-13T17:47:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2016-12-12T10:31:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=3ae860f93f0aa6b573ed37099ac936aaa888c4ac'/>
<id>urn:sha1:3ae860f93f0aa6b573ed37099ac936aaa888c4ac</id>
<content type='text'>
Previously, the unit test sysfs mock files and headers were not
added to the distribution packag. Not packaging the header leads
to compilation of the unit tests failing. Not packaging the stub
files caueses the unit tests themselves to fail.

This patch explicitly adds the header and sysfs mock files to the
distribution target, allowing the unit tests to be used outside
the git tree.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>common: Fix 'unchecked return code' warnings</title>
<updated>2016-12-06T18:38:16+00:00</updated>
<author>
<name>Boris Brezillon</name>
<email>boris.brezillon@free-electrons.com</email>
</author>
<published>2016-11-25T17:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=bfb33f2f46a40023aa9820f4cdd99281e41250c1'/>
<id>urn:sha1:bfb33f2f46a40023aa9820f4cdd99281e41250c1</id>
<content type='text'>
Several tools are simply not checking return code of functions marked
with 'warn_unused_result'.

Provide wrappers for the read/write functions to avoid patching old
code and providing proper error handling.
Fix the remaining ones (calls to fgets() and system()).

Signed-off-by: Boris Brezillon &lt;boris.brezillon@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>Move ubi-utils libraries to common library location</title>
<updated>2016-11-17T10:36:56+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2016-09-01T13:52:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=db4146e84f3310a1e1de6f6d45f2ac35a0b0a604'/>
<id>urn:sha1:db4146e84f3310a1e1de6f6d45f2ac35a0b0a604</id>
<content type='text'>
Historically, the mtd-utils and ubi-utils were seperate packages. The
ubi-utils were at some point merged into the mtd-utils. They first
appeared in the release tar-ball in version 1.1.0 in their own
sub-hirarchy with their own buildsystem, readme, documentation, etc.
A lot of the duplicated stuff got centralized/removed over time.

This patch further cleans up the directory hirarchy duplication by
moving common libraries from the ubi-utils/ into the central lib/
and include/ directories in the top directory of the mtd-utils package.

This includes:
 - libuib.a &amp; libubigen.a used by the ubi utilities
 - libscan.a currently only used by ubiformat
 - libiniparser.a used by ubinize

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add Makefile for unittests</title>
<updated>2016-11-17T10:36:56+00:00</updated>
<author>
<name>Daniel Walter</name>
<email>dwalter@sigma-star.at</email>
</author>
<published>2016-08-31T08:11:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=e635677589fa9fed6310e8ec2c3cab7afa93b9ce'/>
<id>urn:sha1:e635677589fa9fed6310e8ec2c3cab7afa93b9ce</id>
<content type='text'>
Signed-off-by: Daniel Walter &lt;dwalter@sigma-star.at&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add unittests for libubi</title>
<updated>2016-11-17T10:36:56+00:00</updated>
<author>
<name>Daniel Walter</name>
<email>dwalter@sigma-star.at</email>
</author>
<published>2016-08-31T08:09:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=005cef532697be0746c72632f94cfeae67a2a187'/>
<id>urn:sha1:005cef532697be0746c72632f94cfeae67a2a187</id>
<content type='text'>
Add unittests for most functions provided by
libubi

Signed-off-by: Daniel Walter &lt;dwalter@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add unittest for libmtd</title>
<updated>2016-11-17T10:36:56+00:00</updated>
<author>
<name>Daniel Walter</name>
<email>dwalter@sigma-star.at</email>
</author>
<published>2016-08-31T08:08:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=0033921084e9b06db3655b002b961616d9df1571'/>
<id>urn:sha1:0033921084e9b06db3655b002b961616d9df1571</id>
<content type='text'>
unit tests for most functions provided by
libmtd.

Signed-off-by: Daniel Walter &lt;dwalter@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add sysfs tree for unittests</title>
<updated>2016-11-17T10:36:56+00:00</updated>
<author>
<name>Daniel Walter</name>
<email>dwalter@sigma-star.at</email>
</author>
<published>2016-08-31T08:09:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=e947258f9795dbc3f4fee02de28913465675b693'/>
<id>urn:sha1:e947258f9795dbc3f4fee02de28913465675b693</id>
<content type='text'>
add mocked sysfs used by libmtd and libubi
unittests

Signed-off-by: Daniel Walter &lt;dwalter@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add unit test helpers</title>
<updated>2016-11-17T10:36:56+00:00</updated>
<author>
<name>Daniel Walter</name>
<email>dwalter@sigma-star.at</email>
</author>
<published>2016-08-31T08:10:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=4adc61baeba93bc08749c7586d0a36bee01ece8d'/>
<id>urn:sha1:4adc61baeba93bc08749c7586d0a36bee01ece8d</id>
<content type='text'>
Signed-off-by: Daniel Walter &lt;dwalter@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>mtd-utils: Add nand sub-page test utility</title>
<updated>2016-11-17T10:36:56+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2016-08-22T14:21:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=6db431d627f707a3bcd820a2bc32e2a2689c3185'/>
<id>urn:sha1:6db431d627f707a3bcd820a2bc32e2a2689c3185</id>
<content type='text'>
Basically a user space port of the mtd sub page test kernel module.
In addition to the module parameters, the utility supports using
only a sub-range of the flash erase blocks with a configurable
stride and can restore the block contents after the test.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>mtd-utils: Add nand page test utility</title>
<updated>2016-11-17T10:36:56+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2016-08-22T14:19:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=4c6eb0a05500f8ff3bc38b52b3c0e68b25e22e0b'/>
<id>urn:sha1:4c6eb0a05500f8ff3bc38b52b3c0e68b25e22e0b</id>
<content type='text'>
Basically a user space port of the mtd page test kernel module.
In addition to the module parameters, the utility supports using
only a sub-range of the flash erase blocks with a configurable stride.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
</feed>
