aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/020
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2014-02-03 10:26:15 +0100
committerKevin Wolf <kwolf@redhat.com>2014-02-09 09:12:38 +0100
commitecd792fd2178570b8bcf399a86af5a6d9504437b (patch)
treec6dbb39ab3c63ddbe9c27205bdb9d5a3194f4ac7 /tests/qemu-iotests/020
parent1f7bf7d0687f5a58613358f5e7cfd8f29a3a21e2 (diff)
qemu-iotests: blacklist test 020 for NFS protocol
reopening is currently not supported. Signed-off-by: Peter Lieven <pl@kamp.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/020')
-rwxr-xr-xtests/qemu-iotests/0205
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qemu-iotests/020 b/tests/qemu-iotests/020
index 73a0429481..2f258dc6e9 100755
--- a/tests/qemu-iotests/020
+++ b/tests/qemu-iotests/020
@@ -49,6 +49,11 @@ _unsupported_imgopts "subformat=monolithicFlat" \
"subformat=twoGbMaxExtentFlat" \
"subformat=twoGbMaxExtentSparse"
+# NFS does not support bdrv_reopen_prepare thus qemu-img commit fails.
+if [ "$IMGPROTO" = "nfs" ]; then
+ _notrun "image protocol $IMGPROTO does not support bdrv_commit"
+fi
+
TEST_OFFSETS="0 4294967296"
_make_test_img 6G