iotests: Add test for backing-chain commits

Add a test for qemu-img commit on backing chains with more than two
images. This test also checks whether the top image is emptied (unless
this is prevented by specifying either -d or -b) and does therefore not
work for qed and vmdk which requires it to be separate from 020.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1414159063-25977-14-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Max Reitz 2014-10-24 15:57:42 +02:00 committed by Stefan Hajnoczi
parent f67ac71edb
commit e6ea23126c
3 changed files with 242 additions and 0 deletions

View file

@ -100,6 +100,7 @@
091 rw auto quick
092 rw auto quick
095 rw auto quick
097 rw auto backing
099 rw auto quick
100 rw auto quick
101 rw auto quick