<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/test/py/tests/test_fs, branch v2023.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/test/py/tests/test_fs?h=v2023.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/test/py/tests/test_fs?h=v2023.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2023-03-30T19:09:59Z</updated>
<entry>
<title>test: fs: Check fat short file name</title>
<updated>2023-03-30T19:09:59Z</updated>
<author>
<name>Stefan Herbrechtsmeier</name>
<email>stefan.herbrechtsmeier@weidmueller.com</email>
</author>
<published>2023-03-22T08:46:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f98b112f9e0516fc9333611d1228d0b634aa353e'/>
<id>urn:sha1:f98b112f9e0516fc9333611d1228d0b634aa353e</id>
<content type='text'>
Ensure that a freshly written fat file with a lower case filename which
fits into the upper case 8.3 short filename is not mangeled with a tilde
and number.

Signed-off-by: Stefan Herbrechtsmeier &lt;stefan.herbrechtsmeier@weidmueller.com&gt;
</content>
</entry>
<entry>
<title>test: Split out mk_fs function into a helper</title>
<updated>2022-11-07T23:24:30Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-10-30T01:47:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4349ba5977cdc00ff0398353c33ba04fcd9dd762'/>
<id>urn:sha1:4349ba5977cdc00ff0398353c33ba04fcd9dd762</id>
<content type='text'>
This function is useful for other tests. Move it into common code.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Make test_sqfs_ls() single-threaded</title>
<updated>2022-09-12T22:06:36Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-08-06T23:51:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e2c5113523426362b20650c10a022b6e56e86cf3'/>
<id>urn:sha1:e2c5113523426362b20650c10a022b6e56e86cf3</id>
<content type='text'>
This test seems to interfere with the other test in this file. Mark it
single-threaded to avoid any problems.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: fix parsing the mksquashfs version number</title>
<updated>2022-05-26T14:32:27Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2022-05-24T11:36:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d051a91c8dcb27a2f5377cee044d5376e91c372b'/>
<id>urn:sha1:d051a91c8dcb27a2f5377cee044d5376e91c372b</id>
<content type='text'>
Testing with mksquasshfs 4.5.1 results in an error

    ValueError: could not convert string to float: '4.5.1'

Version 4.10 would be considered to be lower than 4.4.

Fixes: 04c9813e951f ("test/py: rewrite common tools for SquashFS tests")
Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
</content>
</entry>
<entry>
<title>test/py: test_fs: Correct the test case name</title>
<updated>2022-05-26T14:27:14Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2022-05-17T15:24:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7eb2e88ae9120b14a479bb14f461762619d7f551'/>
<id>urn:sha1:7eb2e88ae9120b14a479bb14f461762619d7f551</id>
<content type='text'>
Use test_fstypes as the name instead of test_dm_compact.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>test/py: Add tests for the erofs</title>
<updated>2022-03-15T20:19:51Z</updated>
<author>
<name>Huang Jianan</name>
<email>jnhuang95@gmail.com</email>
</author>
<published>2022-02-26T07:05:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2c30aa3dbcc47cff583042685098ad2e7900ff57'/>
<id>urn:sha1:2c30aa3dbcc47cff583042685098ad2e7900ff57</id>
<content type='text'>
Add Python scripts to test 'ls' and 'load' commands, as well as
test related filesystem functions.

Signed-off-by: Huang Jianan &lt;jnhuang95@gmail.com&gt;
</content>
</entry>
<entry>
<title>test/py: Improve check for mksquashfs version</title>
<updated>2021-07-29T00:46:34Z</updated>
<author>
<name>Marek Behún</name>
<email>marek.behun@nic.cz</email>
</author>
<published>2021-07-22T20:52:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=89795ef3b6b2d12cffb840a98ee374d2e806aa64'/>
<id>urn:sha1:89795ef3b6b2d12cffb840a98ee374d2e806aa64</id>
<content type='text'>
Some builds of squashfs-tools append version string with "-git" or
similar. The float() conversion will fail in this case.

Improve the code to only convert to float() the string before the '-'
character.

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Joao Marcos Costa &lt;jmcosta944@gmail.com&gt;
</content>
</entry>
<entry>
<title>test/py: rewrite sqfsls command test suite</title>
<updated>2021-07-05T19:29:12Z</updated>
<author>
<name>Joao Marcos Costa</name>
<email>jmcosta944@gmail.com</email>
</author>
<published>2021-06-30T22:45:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9bde9b5e29a31bf07a6cd4e00643a7de65c5212d'/>
<id>urn:sha1:9bde9b5e29a31bf07a6cd4e00643a7de65c5212d</id>
<content type='text'>
Add more details to test cases by comparing each expected line with the
command's output. Add new test cases:
- sqfsls at an empty directory
- sqfsls at a sub-directory

Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt; [on sandbox]
Signed-off-by: Joao Marcos Costa &lt;jmcosta944@gmail.com&gt;
</content>
</entry>
<entry>
<title>test/py: rewrite sqfsload command test suite</title>
<updated>2021-07-05T19:29:10Z</updated>
<author>
<name>Joao Marcos Costa</name>
<email>jmcosta944@gmail.com</email>
</author>
<published>2021-06-30T22:45:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=208eb2a4dcd37c0bb1b76b9d71f7bf28b85a899f'/>
<id>urn:sha1:208eb2a4dcd37c0bb1b76b9d71f7bf28b85a899f</id>
<content type='text'>
The previous strategy to know if a file was correctly loaded was to
check for how many bytes were read and compare it against the file's
original size. Since this is not a good solution, replace it by
comparing the checksum of the loaded bytes against the original file's
checksum. Add more test cases: files at a sub-directory and non-existent
file.

Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt; [on sandbox]
Signed-off-by: Joao Marcos Costa &lt;jmcosta944@gmail.com&gt;
</content>
</entry>
<entry>
<title>test/py: rewrite common tools for SquashFS tests</title>
<updated>2021-07-05T19:28:33Z</updated>
<author>
<name>Joao Marcos Costa</name>
<email>jmcosta944@gmail.com</email>
</author>
<published>2021-06-30T22:45:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=04c9813e951ffa9391daec5a8dcda90539ca2989'/>
<id>urn:sha1:04c9813e951ffa9391daec5a8dcda90539ca2989</id>
<content type='text'>
Remove the previous OOP approach, which was confusing and incomplete.
Add more test cases by making SquashFS images with various options,
concerning file fragmentation and its compression. Add comments to
properly document the code.

Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt; [on sandbox]
Signed-off-by: Joao Marcos Costa &lt;jmcosta944@gmail.com&gt;
</content>
</entry>
</feed>
