]> 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)
committerKevin Wolf <kwolf@redhat.com>
Tue, 6 Aug 2024 18:12:40 +0000 (20:12 +0200)
commitc8f60bfb4345ea8343a53eaefe88d47b44c53f24
treecefc765341a4d638f0a95297c2d8942473536942
parent5eed3db336506b529b927ba221fe0d836e5b8819
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>
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]