[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 05/13] iotests: Don't lock /dev/null in 226
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [PULL 05/13] iotests: Don't lock /dev/null in 226 |
Date: |
Mon, 30 Jul 2018 17:09:50 +0200 |
From: Fam Zheng <address@hidden>
On my system (Fedora 28), this script reports a 'failed to get
"consistent read" lock' error. Following docs/devel/testing.rst, it's
better to add locking=off here.
Signed-off-by: Fam Zheng <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: John Snow <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
---
tests/qemu-iotests/226 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/qemu-iotests/226 b/tests/qemu-iotests/226
index 211ea9888a..8ec3e612dd 100755
--- a/tests/qemu-iotests/226
+++ b/tests/qemu-iotests/226
@@ -56,10 +56,10 @@ for PROTO in "file" "host_device" "host_cdrom"; do
echo
echo "== Testing RO =="
$QEMU_IO -c "open -r -o driver=$PROTO,filename=$TEST_IMG" 2>&1 |
_filter_testdir | _filter_imgfmt
- $QEMU_IO -c "open -r -o driver=$PROTO,filename=/dev/null" 2>&1 |
_filter_imgfmt
+ $QEMU_IO -c "open -r -o driver=$PROTO,filename=/dev/null,locking=off" 2>&1
| _filter_imgfmt
echo "== Testing RW =="
$QEMU_IO -c "open -o driver=$PROTO,filename=$TEST_IMG" 2>&1 |
_filter_testdir | _filter_imgfmt
- $QEMU_IO -c "open -o driver=$PROTO,filename=/dev/null" 2>&1 |
_filter_imgfmt
+ $QEMU_IO -c "open -o driver=$PROTO,filename=/dev/null,locking=off" 2>&1 |
_filter_imgfmt
done
# success, all done
--
2.13.6
- [Qemu-devel] [PULL 00/13] Block layer patches, Kevin Wolf, 2018/07/30
- [Qemu-devel] [PULL 01/13] qcow: fix a reference leak, Kevin Wolf, 2018/07/30
- [Qemu-devel] [PULL 02/13] qcow2: A grammar fix in conflicting cache sizing error message, Kevin Wolf, 2018/07/30
- [Qemu-devel] [PULL 04/13] docs: Describe using images in writing iotests, Kevin Wolf, 2018/07/30
- [Qemu-devel] [PULL 03/13] file-posix: Handle EINTR in preallocation=full write, Kevin Wolf, 2018/07/30
- [Qemu-devel] [PULL 07/13] qemu-img: Add -C option for convert with copy offloading, Kevin Wolf, 2018/07/30
- [Qemu-devel] [PULL 12/13] block/qapi: Include anonymous BBs in query-blockstats, Kevin Wolf, 2018/07/30
- [Qemu-devel] [PULL 06/13] Revert "qemu-img: Document copy offloading implications with -S and -c", Kevin Wolf, 2018/07/30
- [Qemu-devel] [PULL 05/13] iotests: Don't lock /dev/null in 226,
Kevin Wolf <=
- [Qemu-devel] [PULL 11/13] block/qapi: Add 'qdev' field to query-blockstats result, Kevin Wolf, 2018/07/30
- [Qemu-devel] [PULL 08/13] iotests: Add test for 'qemu-img convert -C' compatibility, Kevin Wolf, 2018/07/30
- [Qemu-devel] [PULL 10/13] file-posix: Fix write_zeroes with unmap on block devices, Kevin Wolf, 2018/07/30
- [Qemu-devel] [PULL 09/13] block: Fix documentation for BDRV_REQ_MAY_UNMAP, Kevin Wolf, 2018/07/30
- [Qemu-devel] [PULL 13/13] qemu-iotests: Test query-blockstats with -drive and -blockdev, Kevin Wolf, 2018/07/30
- Re: [Qemu-devel] [PULL 00/13] Block layer patches, Peter Maydell, 2018/07/31