Re: [libvirt] [PATCH] qemufirmwaretest: Produce better message on error

2019-03-26 Thread Andrea Bolognani
On Tue, 2019-03-26 at 09:02 +0100, Michal Privoznik wrote: > If qemuFirmwareFetchConfigs() returned more or less paths than https://66.media.tumblr.com/c9eb5611a9f9c6a5cb7be6d5365afdf9/tumblr_ouaw1xYO8u1ruwssto2_500.gif > expected all that we see is the following error message: > > Expected 5

[libvirt] [PATCH] qemufirmwaretest: Produce better message on error

2019-03-26 Thread Michal Privoznik
If qemuFirmwareFetchConfigs() returned more or less paths than expected all that we see is the following error message: Expected 5 paths, got 7 While it is technically correct (the best kind of correct), we can do better: Unexpected path (i=0). Expected /some/path got /some/other/path