Skip to content
  • Hanna Reitz's avatar
    e66566e6
    iotests: Make 137 work with data_file · e66566e6
    Hanna Reitz authored
    
    
    When using an external data file, there are no refcounts for data
    clusters.  We thus have to adjust the corruption test in this patch to
    not be based around a data cluster allocation, but the L2 table
    allocation (L2 tables are still refcounted with external data files).
    
    Furthermore, we should not print qcow2.py's list of incompatible
    features because it differs depending on whether there is an external
    data file or not.
    
    With those two changes, the test will work both with and without
    external data files (once that options works with the iotests at all).
    
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
    Reviewed-by: default avatarMaxim Levitsky <mlevitsk@redhat.com>
    Message-id: 20191107163708.833192-20-mreitz@redhat.com
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
    e66566e6
    iotests: Make 137 work with data_file
    Hanna Reitz authored
    
    
    When using an external data file, there are no refcounts for data
    clusters.  We thus have to adjust the corruption test in this patch to
    not be based around a data cluster allocation, but the L2 table
    allocation (L2 tables are still refcounted with external data files).
    
    Furthermore, we should not print qcow2.py's list of incompatible
    features because it differs depending on whether there is an external
    data file or not.
    
    With those two changes, the test will work both with and without
    external data files (once that options works with the iotests at all).
    
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
    Reviewed-by: default avatarMaxim Levitsky <mlevitsk@redhat.com>
    Message-id: 20191107163708.833192-20-mreitz@redhat.com
    Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
Loading