]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests: Add `vvfat` tests
authorAmjad Alsharafi <amjadsharafi10@gmail.com>
Sat, 20 Jul 2024 10:13:34 +0000 (18:13 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 28 Aug 2024 05:37:29 +0000 (08:37 +0300)
commit6622663a2cf1000c0bde9bf9300d2722e17a132e
tree1536cf3f8e0da9436d44bca3a9a7f7ce22f718af
parenta7c4ab770a74b57432a7a86f139b86167ac5c1d1
iotests: Add `vvfat` tests

Added several tests to verify the implementation of the vvfat driver.

We needed a way to interact with it, so created a basic `fat16.py` driver
that handled writing correct sectors for us.

Added `vvfat` to the non-generic formats, as its not a normal image format.

Signed-off-by: Amjad Alsharafi <amjadsharafi10@gmail.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Tested-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <bb8149c945301aefbdf470a0924c07f69f9c087d.1721470238.git.amjadsharafi10@gmail.com>
[kwolf: Made mypy and pylint happy to unbreak 297]
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit c8f60bfb4345ea8343a53eaefe88d47b44c53f24)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/qemu-iotests/check
tests/qemu-iotests/fat16.py [new file with mode: 0644]
tests/qemu-iotests/testenv.py
tests/qemu-iotests/tests/vvfat [new file with mode: 0755]
tests/qemu-iotests/tests/vvfat.out [new file with mode: 0755]