Re: [PATCH 01/14] iotests: add qemu_img_json()

2022-03-17 Thread John Snow
On Thu, Mar 17, 2022 at 10:51 AM Hanna Reitz wrote: > I hope similarly to how א‎₀ and its companions exist[1], there are also > multiple instances of `...`, so one can succeed at handling cases where > a `...` is a valid return type. I suggest just more dots. lol. I'm invested in higher-kinded

Re: [PATCH 01/14] iotests: add qemu_img_json()

2022-03-17 Thread Hanna Reitz
On 17.03.22 15:42, John Snow wrote: On Thu, Mar 17, 2022, 6:53 AM Hanna Reitz wrote: On 09.03.22 04:53, John Snow wrote: > qemu_img_json() is a new helper built on top of qemu_img() that tries to > pull a valid JSON document out of the stdout stream. > > In the event t

Re: [PATCH 01/14] iotests: add qemu_img_json()

2022-03-17 Thread John Snow
On Thu, Mar 17, 2022, 6:53 AM Hanna Reitz wrote: > On 09.03.22 04:53, John Snow wrote: > > qemu_img_json() is a new helper built on top of qemu_img() that tries to > > pull a valid JSON document out of the stdout stream. > > > > In the event that the return code is negative (the program crashed),

Re: [PATCH 01/14] iotests: add qemu_img_json()

2022-03-17 Thread Hanna Reitz
On 09.03.22 04:53, John Snow wrote: qemu_img_json() is a new helper built on top of qemu_img() that tries to pull a valid JSON document out of the stdout stream. In the event that the return code is negative (the program crashed), or the code is greater than zero and did not produce valid JSON o

[PATCH 01/14] iotests: add qemu_img_json()

2022-03-08 Thread John Snow
qemu_img_json() is a new helper built on top of qemu_img() that tries to pull a valid JSON document out of the stdout stream. In the event that the return code is negative (the program crashed), or the code is greater than zero and did not produce valid JSON output, the VerboseProcessError raised