<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/test/fs, branch v2016.01-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/test/fs?h=v2016.01-rc1</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/test/fs?h=v2016.01-rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2015-10-24T17:50:34Z</updated>
<entry>
<title>fs-test.sh: fix pre-requisite detection</title>
<updated>2015-10-24T17:50:34Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@wwwdotorg.org</email>
</author>
<published>2015-10-03T19:56:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=47b71644500f7dff768254570ff62c6e985e4bc3'/>
<id>urn:sha1:47b71644500f7dff768254570ff62c6e985e4bc3</id>
<content type='text'>
In the following snippet:

if [ ! -x `which $prereq` ]; then

When $prereq does not exist, `which $prereq` evaluates to the empty string,
which results in *no* argument being passed to the -x operator, which then
evaluates to true, which is the equivalent of the prereq having been found. In
order for this to fail as expected, we must pass an empty argument, which then
causes -x to fail. Do this by wrapping the `` in quotes so there's always an
argument to -x, even if the value of the argument is zero-length.

Signed-off-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: fat: add test of non-contiguous file reads</title>
<updated>2015-10-24T17:50:34Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@wwwdotorg.org</email>
</author>
<published>2015-10-03T19:56:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4a28274227d085d77d46709dc94ccc3d69610f53'/>
<id>urn:sha1:4a28274227d085d77d46709dc94ccc3d69610f53</id>
<content type='text'>
In my patch series to replace fs/fat with "ff.c", I enhanced ff.c to
optimize file reading, so that reads of contiguous clusters are submitted
to the IO device as a single read. This test attempts to torture-test
edge-cases of that enhancement.

BTW, the only way I found to validate that this script actually does
create non-contiguous files was to manually inspect the FAT bitmap in a
hex dump of the FAT image. hdparm --fibmap doesn't work on loop-mounted
filesystems. filefrag -v -e seems to lie about files being contiguous
when they aren't.

Signed-off-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test/fs/fs-test.sh: Update expected results and TC10 logic</title>
<updated>2015-10-11T21:12:14Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2015-10-11T20:48:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e8de6d7b4ac05d0e74d7493906079f0adfb73dfb'/>
<id>urn:sha1:e8de6d7b4ac05d0e74d7493906079f0adfb73dfb</id>
<content type='text'>
With the changes in 7a3e70c we now get read(2) behavior so trying to
read 2MB with 1MB left in the file results in 1MB read and a warning.
We update the test logic here to make sure we read back 1MB as expected.
This change however changes the overall summary as while EXT4 continues
to not have offset support the test now fails when expected to pass
rather than fails when expected to fail (and we report that as pass).

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>fs-test.sh: minor fixes</title>
<updated>2015-08-18T17:45:59Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@wwwdotorg.org</email>
</author>
<published>2015-08-11T04:45:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=04812605f37cbb9ee02317e5f2d845dcd4898550'/>
<id>urn:sha1:04812605f37cbb9ee02317e5f2d845dcd4898550</id>
<content type='text'>
- Re-direct stderr into the log files, so any errors U-Boot emits are
  visible in the logs. This is relevant if the "reset" shell command
  attempts to report that it's not supported on the sandbox board.
- Fix test_fs_nonfs() to name the files it created differently for each
  invocation. Otherwise, the logs from different tests overwrite
  each-other.

Signed-off-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Acked-by: Suriyan Ramasami &lt;suriyan.r@gmail.com&gt;
</content>
</entry>
<entry>
<title>sandbox: script for testing sandbox/ext4/fat/fs commands</title>
<updated>2014-11-23T11:49:05Z</updated>
<author>
<name>Suriyan Ramasami</name>
<email>suriyan.r@gmail.com</email>
</author>
<published>2014-11-17T22:39:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6c016485a685b5cdac28edb25147311a3e88d51f'/>
<id>urn:sha1:6c016485a685b5cdac28edb25147311a3e88d51f</id>
<content type='text'>
Test size/read/write commands in a sandbox environment.

Signed-off-by: Suriyan Ramasami &lt;suriyan.r@gmail.com&gt;

Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
