[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 13/18] iotests/091: Use _cleanup_qemu instad of "wait"
From: |
Max Reitz |
Subject: |
[PATCH 13/18] iotests/091: Use _cleanup_qemu instad of "wait" |
Date: |
Thu, 19 Dec 2019 15:38:13 +0100 |
If the test environment has some other child processes running (like a
storage daemon that provides a FUSE export), then "wait" will never
finish. Use wait=yes _cleanup_qemu instead.
(We need to discard the output so there is no change to the reference
output.)
Signed-off-by: Max Reitz <address@hidden>
---
tests/qemu-iotests/091 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/091 b/tests/qemu-iotests/091
index 0874fa84c8..7d23a6862b 100755
--- a/tests/qemu-iotests/091
+++ b/tests/qemu-iotests/091
@@ -96,7 +96,8 @@ _send_qemu_cmd $h2 'qemu-io disk flush' "(qemu)"
_send_qemu_cmd $h2 'quit' ""
_send_qemu_cmd $h1 'quit' ""
-wait
+wait=yes _cleanup_qemu >/dev/null
+
echo "Check image pattern"
${QEMU_IO} -c "read -P 0x22 0 4M" "${TEST_IMG}" | _filter_testdir |
_filter_qemu_io
--
2.23.0
- Re: [PATCH 02/18] fuse: Allow exporting BDSs via FUSE, (continued)
- [PATCH 03/18] fuse: Implement standard FUSE operations, Max Reitz, 2019/12/19
- [PATCH 04/18] fuse: Add fuse-export-remove, Max Reitz, 2019/12/19
- [PATCH 05/18] fuse: Allow growable exports, Max Reitz, 2019/12/19
- [PATCH 06/18] fuse: (Partially) implement fallocate(), Max Reitz, 2019/12/19
- [PATCH 07/18] fuse: Implement hole detection through lseek, Max Reitz, 2019/12/19
- [PATCH 09/18] iotests: Do not pipe _make_test_img, Max Reitz, 2019/12/19
- [PATCH 08/18] iotests: Do not needlessly filter _make_test_img, Max Reitz, 2019/12/19
- [PATCH 10/18] iotests: Use convert -n in some cases, Max Reitz, 2019/12/19
- [PATCH 14/18] iotests: Restrict some Python tests to file, Max Reitz, 2019/12/19
- [PATCH 13/18] iotests/091: Use _cleanup_qemu instad of "wait",
Max Reitz <=
- [PATCH 12/18] iotests: Derive image names from $TEST_IMG, Max Reitz, 2019/12/19
- [PATCH 11/18] iotests: Avoid renaming images, Max Reitz, 2019/12/19
- [PATCH 15/18] iotests: Let _make_test_img guess $TEST_IMG_FILE, Max Reitz, 2019/12/19
- [PATCH 16/18] iotests: Allow testing FUSE exports, Max Reitz, 2019/12/19
- [PATCH 17/18] iotests: Enable fuse for many tests, Max Reitz, 2019/12/19
- [PATCH 18/18] iotests/281: Add test for FUSE exports, Max Reitz, 2019/12/19
- Re: [PATCH 00/18] block: Allow exporting BDSs via FUSE, Max Reitz, 2019/12/19
- Re: [PATCH 00/18] block: Allow exporting BDSs via FUSE, Stefan Hajnoczi, 2019/12/20