Re: [PATCH 06/12] tests/qemu-iotests: add QEMU_IOTESTS_REGEN=1 to update reference file

2022-03-04 Thread Eric Blake
On Thu, Mar 03, 2022 at 04:03:24PM +, Daniel P. Berrangé wrote: > When developing an I/O test it is typical to add some logic to the > test script, run it to view the output diff, and then apply the > output diff to the reference file. This can be drastically simplified > by letting the test

[PATCH 06/12] tests/qemu-iotests: add QEMU_IOTESTS_REGEN=1 to update reference file

2022-03-03 Thread Daniel P . Berrangé
When developing an I/O test it is typical to add some logic to the test script, run it to view the output diff, and then apply the output diff to the reference file. This can be drastically simplified by letting the test runner update the reference file in place. By setting