From: Thomas Huth <thuth@redhat.com>
To: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>,
qemu-block@nongnu.org
Cc: qemu-devel@nongnu.org
Subject: [PATCH 3/9] tests/qemu-iotests: Restrict test 114 to the 'file' protocol
Date: Fri, 15 Mar 2024 12:11:02 +0100 [thread overview]
Message-ID: <20240315111108.153201-4-thuth@redhat.com> (raw)
In-Reply-To: <20240315111108.153201-1-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>
---
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
next prev parent reply other threads:[~2024-03-15 11:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-15 11:10 [PATCH 0/9] tests/qemu-iotests: Fix running with "check -ssh -qcow2" Thomas Huth
2024-03-15 11:11 ` [PATCH 1/9] tests/qemu-iotests: Fix test 033 for running with non-file protocols Thomas Huth
2024-03-15 11:11 ` [PATCH 2/9] tests/qemu-iotests: Restrict test 066 to the 'file' protocol Thomas Huth
2024-03-15 11:11 ` Thomas Huth [this message]
2024-03-15 11:11 ` [PATCH 4/9] tests/qemu-iotests: Restrict test 130 " Thomas Huth
2024-03-15 11:11 ` [PATCH 5/9] tests/qemu-iotests: Restrict test 134 and 158 " Thomas Huth
2024-03-15 11:11 ` [PATCH 6/9] tests/qemu-iotests: Restrict test 156 " Thomas Huth
2024-03-15 11:11 ` [PATCH 7/9] tests/qemu-iotests: Restrict tests that use --image-opts " Thomas Huth
2024-03-15 11:11 ` [PATCH 8/9] tests/qemu-iotests: Fix some tests that use --image-opts for other protocols Thomas Huth
2024-03-15 11:11 ` [PATCH 9/9] tests/qemu-iotests: Restrict tests using "--blockdev file" to the file protocol Thomas Huth
2024-03-18 12:14 ` [PATCH 0/9] tests/qemu-iotests: Fix running with "check -ssh -qcow2" Kevin Wolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240315111108.153201-4-thuth@redhat.com \
--to=thuth@redhat.com \
--cc=hreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).