[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/9] tests/qemu-iotests: Restrict test 114 to the 'file' protocol
From: |
Thomas Huth |
Subject: |
[PATCH 3/9] tests/qemu-iotests: Restrict test 114 to the 'file' protocol |
Date: |
Fri, 15 Mar 2024 12:11:02 +0100 |
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 <thuth@redhat.com>
---
tests/qemu-iotests/114 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/114 b/tests/qemu-iotests/114
index de6fd327ee..dccc71008b 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
--
2.44.0
- [PATCH 0/9] tests/qemu-iotests: Fix running with "check -ssh -qcow2", Thomas Huth, 2024/03/15
- [PATCH 3/9] tests/qemu-iotests: Restrict test 114 to the 'file' protocol,
Thomas Huth <=
- [PATCH 1/9] tests/qemu-iotests: Fix test 033 for running with non-file protocols, Thomas Huth, 2024/03/15
- [PATCH 2/9] tests/qemu-iotests: Restrict test 066 to the 'file' protocol, Thomas Huth, 2024/03/15
- [PATCH 5/9] tests/qemu-iotests: Restrict test 134 and 158 to the 'file' protocol, Thomas Huth, 2024/03/15
- [PATCH 4/9] tests/qemu-iotests: Restrict test 130 to the 'file' protocol, Thomas Huth, 2024/03/15
- [PATCH 6/9] tests/qemu-iotests: Restrict test 156 to the 'file' protocol, Thomas Huth, 2024/03/15
- [PATCH 7/9] tests/qemu-iotests: Restrict tests that use --image-opts to the 'file' protocol, Thomas Huth, 2024/03/15
- [PATCH 9/9] tests/qemu-iotests: Restrict tests using "--blockdev file" to the file protocol, Thomas Huth, 2024/03/15
- [PATCH 8/9] tests/qemu-iotests: Fix some tests that use --image-opts for other protocols, Thomas Huth, 2024/03/15
- Re: [PATCH 0/9] tests/qemu-iotests: Fix running with "check -ssh -qcow2", Kevin Wolf, 2024/03/18