diff options
author | 2023-08-24 17:53:44 +0200 | |
---|---|---|
committer | 2023-08-29 13:01:24 +0200 | |
commit | 380448464dd89291cf7fd7434be6c225482a334d (patch) | |
tree | a0f28306553b86a8eb53606ada0e4b83567e22f2 /scripts/qapi/source.py | |
parent | file-posix: Simplify raw_co_prw's 'out' zone code (diff) | |
download | qemu-380448464dd89291cf7fd7434be6c225482a334d.tar.xz qemu-380448464dd89291cf7fd7434be6c225482a334d.zip |
tests/file-io-error: New test
This is a regression test for
https://bugzilla.redhat.com/show_bug.cgi?id=2234374.
All this test needs to do is trigger an I/O error inside of file-posix
(specifically raw_co_prw()). One reliable way to do this without
requiring special privileges is to use a FUSE export, which allows us to
inject any error that we want, e.g. via blkdebug.
Signed-off-by: Hanna Czenczek <hreitz@redhat.com>
Message-Id: <20230824155345.109765-6-hreitz@redhat.com>
[hreitz: Fixed test to be skipped when there is no FUSE support, to
suppress fusermount's allow_other warning, and to be skipped
with $IMGOPTSSYNTAX enabled]
Signed-off-by: Hanna Czenczek <hreitz@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions