From: Thomas Huth Date: Fri, 15 Mar 2024 11:11:02 +0000 (+0100) Subject: tests/qemu-iotests: Restrict test 114 to the 'file' protocol X-Git-Tag: v9.0.0-rc0~6^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=70877f21e746e2420727628661a506ce95da4b32;p=thirdparty%2Fqemu.git tests/qemu-iotests: Restrict test 114 to the 'file' protocol iotest 114 uses "truncate" and the qcow2.py script on the destination file, which both cannot deal with URIs. Thus this test needs the "file" protocol, otherwise it fails with an error message like this: truncate: cannot open 'ssh://127.0.0.1/tmp/qemu-build/tests/qemu-iotests/scratch/qcow2-ssh-114/t.qcow2.orig' for writing: No such file or directory Thus mark this test for "file protocol only" accordingly. Signed-off-by: Thomas Huth Message-ID: <20240315111108.153201-4-thuth@redhat.com> Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- diff --git a/tests/qemu-iotests/114 b/tests/qemu-iotests/114 index de6fd327eea..dccc71008b5 100755 --- a/tests/qemu-iotests/114 +++ b/tests/qemu-iotests/114 @@ -38,7 +38,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 . ./common.filter _supported_fmt qcow2 -_supported_proto generic +_supported_proto file # At least OpenBSD doesn't seem to have truncate _supported_os Linux # qcow2.py does not work too well with external data files