]> 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:14 +0000 (08:37 +0300)
commit7bb8a2de7488e506583ea0cb6aee8e357481dcc0
treef4feaefea1926e9c81e46cd180b64090b4cb4bdb
parentf705eabef76fbd39095cad41a147a556eeb8e331
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]