summary refs log tree commit diff stats
path: root/scripts/update-linux-headers.sh
diff options
context:
space:
mode:
authorHanna Czenczek <hreitz@redhat.com>2023-08-24 17:53:44 +0200
committerHanna Czenczek <hreitz@redhat.com>2023-08-29 13:01:24 +0200
commit380448464dd89291cf7fd7434be6c225482a334d (patch)
treea0f28306553b86a8eb53606ada0e4b83567e22f2 /scripts/update-linux-headers.sh
parentd31b50a15dd25a560749b25fc40b6484fd1a57b7 (diff)
downloadfocaccia-qemu-380448464dd89291cf7fd7434be6c225482a334d.tar.gz
focaccia-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/update-linux-headers.sh')
0 files changed, 0 insertions, 0 deletions