aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/065
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/065')
-rwxr-xr-xtests/qemu-iotests/0652
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/065 b/tests/qemu-iotests/065
index b724c89c7c..b76701c71e 100755
--- a/tests/qemu-iotests/065
+++ b/tests/qemu-iotests/065
@@ -56,7 +56,7 @@ class TestQemuImgInfo(TestImageInfoSpecific):
def test_human(self):
data = qemu_img('info', '--output=human', test_img).stdout.split('\n')
data = data[(data.index('Format specific information:') + 1)
- :data.index('')]
+ :data.index("Child node '/file':")]
for field in data:
self.assertTrue(re.match('^ {4}[^ ]', field) is not None)
data = [line.strip() for line in data]