[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 08/15] tests/qemu-iotests: Restrict test 114 to the 'file' protoco
From: |
Kevin Wolf |
Subject: |
[PULL 08/15] tests/qemu-iotests: Restrict test 114 to the 'file' protocol |
Date: |
Mon, 18 Mar 2024 14:01:11 +0100 |
From: Thomas Huth <thuth@redhat.com>
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>
Message-ID: <20240315111108.153201-4-thuth@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@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
- [PULL 00/15] Block layer patches, Kevin Wolf, 2024/03/18
- [PULL 01/15] mirror: Don't call job_pause_point() under graph lock, Kevin Wolf, 2024/03/18
- [PULL 07/15] tests/qemu-iotests: Restrict test 066 to the 'file' protocol, Kevin Wolf, 2024/03/18
- [PULL 03/15] iotests: Add test for reset/AioContext switches with NBD exports, Kevin Wolf, 2024/03/18
- [PULL 09/15] tests/qemu-iotests: Restrict test 130 to the 'file' protocol, Kevin Wolf, 2024/03/18
- [PULL 08/15] tests/qemu-iotests: Restrict test 114 to the 'file' protocol,
Kevin Wolf <=
- [PULL 04/15] blockdev: Fix blockdev-snapshot-sync error reporting for no medium, Kevin Wolf, 2024/03/18
- [PULL 02/15] nbd/server: Fix race in draining the export, Kevin Wolf, 2024/03/18
- [PULL 12/15] tests/qemu-iotests: Restrict tests that use --image-opts to the 'file' protocol, Kevin Wolf, 2024/03/18
- [PULL 13/15] tests/qemu-iotests: Fix some tests that use --image-opts for other protocols, Kevin Wolf, 2024/03/18
- [PULL 05/15] qemu-img: Fix Column Width and Improve Formatting in snapshot list, Kevin Wolf, 2024/03/18
- [PULL 15/15] iotests: adapt to output change for recently introduced 'detached header' field, Kevin Wolf, 2024/03/18
- [PULL 06/15] tests/qemu-iotests: Fix test 033 for running with non-file protocols, Kevin Wolf, 2024/03/18
- [PULL 14/15] tests/qemu-iotests: Restrict tests using "--blockdev file" to the file protocol, Kevin Wolf, 2024/03/18
- [PULL 10/15] tests/qemu-iotests: Restrict test 134 and 158 to the 'file' protocol, Kevin Wolf, 2024/03/18
- [PULL 11/15] tests/qemu-iotests: Restrict test 156 to the 'file' protocol, Kevin Wolf, 2024/03/18