Re: [libvirt PATCH v2 1/7] tests: Fix false positive in testConfRoundTrip.

2020-09-14 Thread Ján Tomko
On a Monday in 2020, Tim Wiederhake wrote: testConfRoundTrip would return 0 (success) if virConfWriteMem returned 0 (nothing written) and virTestCompareToFile failed. s/returned 0/succeeded/ The caller treats all non-negative values as a success. (as is usual in the codebase) Jano

[libvirt PATCH v2 1/7] tests: Fix false positive in testConfRoundTrip.

2020-09-14 Thread Tim Wiederhake
testConfRoundTrip would return 0 (success) if virConfWriteMem returned 0 (nothing written) and virTestCompareToFile failed. Signed-off-by: Tim Wiederhake --- tests/virconftest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/virconftest.c b/tests/virconftest.c