iotests: Use _rm_test_img for deleting test images
Just rm will not delete external data files. Use _rm_test_img every time we delete a test image. (In the process, clean up the indentation of every _cleanup() this patch touches.) ((Also, use quotes consistently. I am happy to see unquoted instances like "rm -rf $TEST_DIR/..." go.)) Signed-off-by:Max Reitz <mreitz@redhat.com> Reviewed-by:
Maxim Levitsky <mlevitsk@redhat.com> Message-id: 20191107163708.833192-16-mreitz@redhat.com Signed-off-by:
Max Reitz <mreitz@redhat.com>
Showing
- tests/qemu-iotests/019 3 additions, 3 deletionstests/qemu-iotests/019
- tests/qemu-iotests/020 3 additions, 3 deletionstests/qemu-iotests/020
- tests/qemu-iotests/024 5 additions, 5 deletionstests/qemu-iotests/024
- tests/qemu-iotests/028 1 addition, 1 deletiontests/qemu-iotests/028
- tests/qemu-iotests/029 1 addition, 1 deletiontests/qemu-iotests/029
- tests/qemu-iotests/043 3 additions, 1 deletiontests/qemu-iotests/043
- tests/qemu-iotests/048 1 addition, 1 deletiontests/qemu-iotests/048
- tests/qemu-iotests/050 2 additions, 2 deletionstests/qemu-iotests/050
- tests/qemu-iotests/053 2 additions, 2 deletionstests/qemu-iotests/053
- tests/qemu-iotests/058 1 addition, 1 deletiontests/qemu-iotests/058
- tests/qemu-iotests/059 1 addition, 1 deletiontests/qemu-iotests/059
- tests/qemu-iotests/061 1 addition, 1 deletiontests/qemu-iotests/061
- tests/qemu-iotests/063 4 additions, 2 deletionstests/qemu-iotests/063
- tests/qemu-iotests/069 1 addition, 1 deletiontests/qemu-iotests/069
- tests/qemu-iotests/074 1 addition, 1 deletiontests/qemu-iotests/074
- tests/qemu-iotests/080 1 addition, 1 deletiontests/qemu-iotests/080
- tests/qemu-iotests/081 3 additions, 3 deletionstests/qemu-iotests/081
- tests/qemu-iotests/085 6 additions, 3 deletionstests/qemu-iotests/085
- tests/qemu-iotests/088 1 addition, 1 deletiontests/qemu-iotests/088
- tests/qemu-iotests/092 1 addition, 1 deletiontests/qemu-iotests/092
Loading
Please register or sign in to comment