<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git/tests, branch v1.4.8</title>
<subtitle>A mirror of http://git.infradead.org/mtd-utils.git</subtitle>
<id>https://git.infraroot.at/mtd-utils.git/atom?h=v1.4.8</id>
<link rel='self' href='https://git.infraroot.at/mtd-utils.git/atom?h=v1.4.8'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/'/>
<updated>2011-10-14T09:20:02+00:00</updated>
<entry>
<title>tests: checkfs: remove unused code</title>
<updated>2011-10-14T09:20:02+00:00</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2011-10-10T08:40:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=f238f2e01a7febc5f083e77fdf496171c9b5cc8b'/>
<id>urn:sha1:f238f2e01a7febc5f083e77fdf496171c9b5cc8b</id>
<content type='text'>
There are two variables which are not used anymore. Thos patch removes useless
lines and suppresses gcc warnings.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd-utils: use __func__ instead of __FUNCTION__</title>
<updated>2011-08-23T06:27:48+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2011-08-19T17:07:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=988ecf93887b54f225f0f29235f3b32f92b1ea31'/>
<id>urn:sha1:988ecf93887b54f225f0f29235f3b32f92b1ea31</id>
<content type='text'>
__func__ is more portable

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd-utils: update .gitignore files</title>
<updated>2011-06-29T05:42:39+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2011-06-27T18:27:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=f0bfefeb47291a83d0d0c2b6793e3fa41ef27339'/>
<id>urn:sha1:f0bfefeb47291a83d0d0c2b6793e3fa41ef27339</id>
<content type='text'>
First, the top-level Makefile should not tell git to ignore sub-level
.gitignore files.

Second, add simple .gitignores to ignore the executables generated under
the various `tests' subdirectories.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;dedekind1@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd-utils: remove whitespace at end of lines</title>
<updated>2011-06-29T05:42:38+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2011-06-27T18:27:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=15f5f89995de6f10a5dc7b30ebf87d856c4e1127'/>
<id>urn:sha1:15f5f89995de6f10a5dc7b30ebf87d856c4e1127</id>
<content type='text'>
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;dedekind1@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd-tests: io_paral: build error, "variable length strings"</title>
<updated>2011-06-29T05:42:38+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2011-06-27T18:27:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=6977ec0308678514ea4450e25e9d443a787da12e'/>
<id>urn:sha1:6977ec0308678514ea4450e25e9d443a787da12e</id>
<content type='text'>
Some compilers will complain about use of strlen() within a static array
size declaration. For this type of string, "sizeof() - 1" is equivalent
and prevents the build error.

Error:

   io_paral.c:48:13: error: variably modified 'vol_nodes' at file scope

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;dedekind1@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd-tests: checkfs: fix size_t related warning</title>
<updated>2011-06-29T05:42:37+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2011-06-27T18:27:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=59423eba6af3dbac53a1687e9f3cb31cfaad0680'/>
<id>urn:sha1:59423eba6af3dbac53a1687e9f3cb31cfaad0680</id>
<content type='text'>
Depending on your compiler, size_t may or may not be long unsigned int.
Use printf's %zu format to clarify.

Warning message:

   checkfs.c:524:28: warning: format '%lu' expects type
   'long unsigned int', but argument 2 has type 'unsigned int'

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;dedekind1@gmail.com&gt;
</content>
</entry>
<entry>
<title>rewrite build system to avoid recursion</title>
<updated>2011-06-27T06:07:07+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-06-25T17:20:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=3285a49dd871d54c1ec13076173ad617443baae1'/>
<id>urn:sha1:3285a49dd871d54c1ec13076173ad617443baae1</id>
<content type='text'>
The ubi-utils/src/ subdir is tossed as it just complicates things for no
real gain.  The dictionary.h header is relocated to the ubi-utils/include/
since other headers in there need it.

The top level clean is replaced with a `find -delete` on objects, so it
might prune more than necessary, but many projects now do this sort of
thing and no one complained there.

A "mkdep" helper generates the actual rule, and the variables are used
with "foreach" to expand these automatically.

The tests subdir is updated only to reflect the ubi-utils source move.
Otherwise, it is left untouched as making that non-recursive isn't really
worth the effort.

While we're gutting things, also through in kbuild style output while
building to make things more legible.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;dedekind1@gmail.com&gt;
</content>
</entry>
<entry>
<title>integck: fix build error (MS_DIRSYNC, MS_RELATIME)</title>
<updated>2011-06-25T07:02:11+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2011-06-24T18:03:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=4e751144ba287ed92de644eabb8d8a2f4971ecbb'/>
<id>urn:sha1:4e751144ba287ed92de644eabb8d8a2f4971ecbb</id>
<content type='text'>
Need to include &lt;linux/fs.h&gt;, at least for my build system. Otherwise,
you can't build the 'tests'.

integck.c: In function ‘parse_mount_options’:
integck.c:2862: error: ‘MS_DIRSYNC’ undeclared (first use in this
function)
integck.c:2862: error: (Each undeclared identifier is reported only once
integck.c:2862: error: for each function it appears in.)
integck.c:2872: error: ‘MS_RELATIME’ undeclared (first use in this
function)

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>fs-tests: integck: add some more error messages</title>
<updated>2011-05-27T12:55:08+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2011-05-26T13:04:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=8ed2f6b8bf6465197230b196f013b9cae1308ca8'/>
<id>urn:sha1:8ed2f6b8bf6465197230b196f013b9cae1308ca8</id>
<content type='text'>
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>fs-tests: integck: print error message on error</title>
<updated>2011-05-27T12:55:08+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2011-05-26T11:58:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=c0f504fec29666a1b7e4e26fb22bdd72ca561185'/>
<id>urn:sha1:c0f504fec29666a1b7e4e26fb22bdd72ca561185</id>
<content type='text'>
Currently pcv macro print the error message only if we are not doing power cut
testing or if we have -v flag. But if we run without -v and an error happen
and the error code is not EROFS/EIO, pcv() does not print anything. This patch
makes it print the error message in that case as well.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
</feed>
