def METHOD_NAME(self):
    qemu_img('resize',  '-f', iotests.imgfmt, '--shrink', test_img,
             self.shrink_size)
    self.assertEqual(
        qemu_io('-c', 'read -P 0x00 %s'%self.shrink_size, test_img),
        qemu_io('-c', 'read -P 0x00 %s'%self.shrink_size, check_img),
        "Verifying image content")
    self.image_verify()