Revision 98289620 tests/qemu-iotests/051
b/tests/qemu-iotests/051 | ||
---|---|---|
149 | 149 |
run_qemu -drive file=$TEST_IMG,file.driver=file |
150 | 150 |
run_qemu -drive file=$TEST_IMG,file.driver=qcow2 |
151 | 151 |
|
152 |
echo |
|
153 |
echo === Parsing protocol from file name === |
|
154 |
echo |
|
155 |
|
|
156 |
# Protocol strings are supposed to be parsed from traditional option strings, |
|
157 |
# but not when using driver-specific options. We can distinguish them by the |
|
158 |
# error message for non-existing files. |
|
159 |
|
|
160 |
run_qemu -hda foo:bar |
|
161 |
run_qemu -drive file=foo:bar |
|
162 |
run_qemu -drive file.filename=foo:bar |
|
163 |
|
|
152 | 164 |
# success, all done |
153 | 165 |
echo "*** done" |
154 | 166 |
rm -f $seq.full |
Also available in: Unified diff