diff options
author | Hanna Czenczek <hreitz@redhat.com> | 2023-08-24 17:53:44 +0200 |
---|---|---|
committer | Hanna Czenczek <hreitz@redhat.com> | 2023-08-29 13:01:24 +0200 |
commit | 380448464dd89291cf7fd7434be6c225482a334d (patch) | |
tree | a0f28306553b86a8eb53606ada0e4b83567e22f2 /backends | |
parent | d31b50a15dd25a560749b25fc40b6484fd1a57b7 (diff) |
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 'backends')
0 files changed, 0 insertions, 0 deletions