iotests: Replace IMGOPTS= by -o
Tests should not overwrite all user-supplied image options, but only add to it (which will effectively overwrite conflicting values). Accomplish this by passing options to _make_test_img via -o instead of $IMGOPTS. For some tests, there is no functional change because they already only appended options to IMGOPTS. For these, this patch is just a simplification. For others, this is a change, so they now heed user-specified $IMGOPTS. Some of those tests do not work with all image options, though, so we need to disable them accordingly. Signed-off-by:Max Reitz <mreitz@redhat.com> Reviewed-by:
Maxim Levitsky <mlevitsk@redhat.com> Message-id: 20191107163708.833192-12-mreitz@redhat.com Signed-off-by:
Max Reitz <mreitz@redhat.com>
Showing
- tests/qemu-iotests/031 6 additions, 3 deletionstests/qemu-iotests/031
- tests/qemu-iotests/039 8 additions, 16 deletionstests/qemu-iotests/039
- tests/qemu-iotests/059 9 additions, 9 deletionstests/qemu-iotests/059
- tests/qemu-iotests/060 3 additions, 3 deletionstests/qemu-iotests/060
- tests/qemu-iotests/061 30 additions, 27 deletionstests/qemu-iotests/061
- tests/qemu-iotests/079 1 addition, 2 deletionstests/qemu-iotests/079
- tests/qemu-iotests/106 1 addition, 1 deletiontests/qemu-iotests/106
- tests/qemu-iotests/108 1 addition, 1 deletiontests/qemu-iotests/108
- tests/qemu-iotests/112 16 additions, 16 deletionstests/qemu-iotests/112
- tests/qemu-iotests/115 1 addition, 2 deletionstests/qemu-iotests/115
- tests/qemu-iotests/121 3 additions, 3 deletionstests/qemu-iotests/121
- tests/qemu-iotests/125 1 addition, 1 deletiontests/qemu-iotests/125
- tests/qemu-iotests/137 1 addition, 1 deletiontests/qemu-iotests/137
- tests/qemu-iotests/138 1 addition, 2 deletionstests/qemu-iotests/138
- tests/qemu-iotests/175 1 addition, 1 deletiontests/qemu-iotests/175
- tests/qemu-iotests/190 1 addition, 1 deletiontests/qemu-iotests/190
- tests/qemu-iotests/191 1 addition, 2 deletionstests/qemu-iotests/191
- tests/qemu-iotests/220 3 additions, 1 deletiontests/qemu-iotests/220
- tests/qemu-iotests/243 4 additions, 2 deletionstests/qemu-iotests/243
- tests/qemu-iotests/244 6 additions, 4 deletionstests/qemu-iotests/244
Loading
Please register or sign in to comment