qemu-iotests: Test reopen with node-name/driver options

'node-name' and 'driver' should not be changed during a reopen
operation. It is, however, valid to specify them with the same value as
they already had.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
Kevin Wolf 2015-05-08 18:11:08 +02:00
parent 8f7acbe6ea
commit 0a8111e0fb
3 changed files with 113 additions and 0 deletions

View file

@ -0,0 +1,22 @@
QA output created by 133
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base
=== Check that node-name can't be changed ===
Cannot change the option 'node-name'
Cannot change the option 'node-name'
Cannot change the option 'node-name'
=== Check that unchanged node-name is okay ===
=== Check that driver can't be changed ===
Cannot change the option 'driver'
Cannot change the option 'driver'
Cannot change the option 'driver'
=== Check that unchanged driver is okay ===
*** done