OSDN Git Service

tests: New i_e2image test to validate image creation/conversion
authorLukas Czerner <lczerner@redhat.com>
Wed, 18 May 2011 11:36:55 +0000 (13:36 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 18 May 2011 16:19:41 +0000 (12:19 -0400)
commit9e713505ab4216c1391a14aa86a7f49a6026aa46
tree895734651b904fd3e9afa5f39aad0d91b61569d1
parent92dcfb7692da5c3ed61899c49c0915f889815c45
tests: New i_e2image test to validate image creation/conversion

This commit adds new regression test called i_e2image which should
validate expected behaviour of e2image raw and qcow2 image creation
and qcow2 -> raw image conversion. You can run it with "make check" as
the rest of regression tests.

Testing is performed on three filesystem images with different block
sizes (1024, 2048, 4096). It creates raw and qcow2 images from the
original and then convert qcow2 image back to raw image. The results are
checksummed and compared with pre-prepared results. All md5sums should
stay the same and raw image created from original and qcow2 image should
be the same as well (just for the record).

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/i_e2image/i_e2image.md5 [new file with mode: 0644]
tests/i_e2image/image1024.orig.bz2 [new file with mode: 0644]
tests/i_e2image/image2048.orig.bz2 [new file with mode: 0644]
tests/i_e2image/image4096.orig.bz2 [new file with mode: 0644]
tests/i_e2image/script [new file with mode: 0644]
tests/test_config