1. 09 2月, 2014 1 次提交
  2. 22 1月, 2014 2 次提交
  3. 04 12月, 2013 2 次提交
  4. 07 11月, 2013 2 次提交
  5. 11 10月, 2013 2 次提交
    • J
      block: qemu-iotests for vhdx, read sample dynamic image · 89e91181
      Jeff Cody 提交于
      This adds the VHDX format to the qemu-iotests format, and adds
      a read test.  The test reads from an existing sample image, that
      was created with Hyper-V under Windwos Server 2012.
      
      The image file is a 1GB dynamic image, with 32MB blocks.
      
      The pattern 0xa5 exists from 0MB-33MB (past a block size boundary)
      
      The pattern 0x96 exists from 33MB-66MB (past another block boundary,
      and leaving a partial blank block)
      
      From 66MB-1024MB, all reads should return 0.
      
      Although 1GB dynamic image with 66MB of data, the bzip2'ed image
      file size is only 874 bytes.
      
      This also adds in the IMGFMT_GENERIC flag, so r/o images can be
      tested (e.g. ./check -vhdx) without failing tests that assume
      r/w support.
      Signed-off-by: NJeff Cody <jcody@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      89e91181
    • M
      qemu-iotests: Discard specific info in _img_info · 4c2e9465
      Max Reitz 提交于
      In _img_info, filter out additional information specific to the image
      format provided by qemu-img info, since tests designed for multiple
      image formats would produce different outputs for every image format
      otherwise.
      
      In a human-readable dump, that new information will always be last for
      each "image information block" (multiple blocks are emitted when
      inspecting the backing file chain). Every block is separated by an empty
      line. Therefore, in this case, everything starting with the line "Format
      specific information:" up to that empty line (or EOF, if it is the last
      block) has to be stripped.
      
      The JSON dump will always emit pretty JSON data. Therefore, the opening
      and closing braces of every object will be on lines which are indented
      by exactly the same amount, and all lines in between will have more
      indentation. Thus, in this case, everything starting with a line
      matching the regular expression /^ *"format-specific": {/ until /^ *},?/
      has to be stripped, where the number of spaces at the beginning of the
      respective lines is equal.
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      4c2e9465
  6. 27 9月, 2013 2 次提交
  7. 12 9月, 2013 1 次提交
    • M
      qemu-iotests: Adjustments due to error propagation · 2c78857b
      Max Reitz 提交于
      When opening/creating images, propagating errors instead of immediately
      emitting them on occurrence results in errors generally being printed on
      a single line rather than being split up into multiple ones. This in
      turn requires adjustments to some test results.
      
      Also, test 060 used a sed to filter out the test image directory and
      format by removing everything from the affected line after a certain
      keyword; this now also removes the error message itself, which can be
      fixed by using _filter_testdir and _filter_imgfmt.
      
      Finally, _make_test_img in common.rc did not filter out the test image
      directory etc. from stderr. This has been fixed through a redirection of
      stderr to stdout (which is already done in _check_test_img and
      _img_info).
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      2c78857b
  8. 06 9月, 2013 1 次提交
  9. 06 8月, 2013 1 次提交
  10. 24 5月, 2013 1 次提交
  11. 03 5月, 2013 2 次提交
  12. 15 4月, 2013 1 次提交
  13. 23 2月, 2013 2 次提交
  14. 15 11月, 2012 1 次提交
  15. 24 10月, 2012 1 次提交
  16. 10 8月, 2012 2 次提交
  17. 07 8月, 2012 2 次提交
  18. 17 7月, 2012 1 次提交
  19. 03 5月, 2012 1 次提交
  20. 20 4月, 2012 1 次提交
  21. 19 4月, 2012 1 次提交
  22. 05 4月, 2012 1 次提交
  23. 23 2月, 2012 3 次提交
  24. 22 2月, 2012 6 次提交