mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
iotests: 153: Fix dead code
This step was left behind my mistake. As suggested by the echoed text, the intention was to test two devices with the same image, with different options. The behavior should be the same as two QEMU processes. Complete it. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
dc3c89d612
commit
0e1a582750
2 changed files with 27 additions and 0 deletions
|
@ -162,6 +162,7 @@ for opts1 in "" "read-only=on" "read-only=on,force-share=on"; do
|
|||
_cleanup_qemu
|
||||
done
|
||||
|
||||
test_opts="read-only=off read-only=on read-only=on,force-share=on"
|
||||
for opt1 in $test_opts; do
|
||||
for opt2 in $test_opts; do
|
||||
echo
|
||||
|
@ -170,6 +171,7 @@ for opt1 in $test_opts; do
|
|||
done
|
||||
done
|
||||
|
||||
echo
|
||||
echo "== Creating ${TEST_IMG}.[abc] ==" | _filter_testdir
|
||||
(
|
||||
$QEMU_IMG create -f qcow2 "${TEST_IMG}.a" -b "${TEST_IMG}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue