iotests: Add creation test to 153
commitf45b638f9f967cdbea4e24704bd16a858ddcde03
authorMax Reitz <mreitz@redhat.com>
Wed, 9 May 2018 21:53:36 +0000 (9 23:53 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 11 Jun 2018 14:18:45 +0000 (11 16:18 +0200)
treec55ad38826998619b3768fa17339b783f0104b49
parentb8cf1913a989b9ea6f248aaa233330047a62962e
iotests: Add creation test to 153

This patch adds a test case to 153 which tries to overwrite an image
(using qemu-img create) while it is in use.  Without the original user
explicitly sharing the necessary permissions (writing and truncation),
this should not be allowed.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 20180509215336.31304-4-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/153
tests/qemu-iotests/153.out