John Levon le...@movementarian.org wrote:
On Fri, Jan 30, 2009 at 08:07:53PM +0100, Jim Meyering wrote:
Obviously, the testing framework should report the failure
to open the .args file:
Here's the patch to do that:
Great, but this applies to all the other test programs too
As mentioned,
17) QEMU XML-2-ARGV disk-drive-shared ... FAILED
I have VIR_TEST_DEBUG set, but this is all I get. It's new
regards
john
--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Daniel P. Berrange berra...@redhat.com wrote:
From 560e27e1576a4c0ebe7db3e697ed9b6d8aa88fbc Mon Sep 17 00:00:00 2001
From: Jim Meyering meyer...@redhat.com
Date: Fri, 30 Jan 2009 20:06:48 +0100
Subject: [PATCH] tests: diagnose open failure
* tests/qemuxml2argvtest.c
On Fri, Jan 30, 2009 at 11:06:48PM +0100, Jim Meyering wrote:
But as John Levon pointed out, there are many more tests/*test.c
programs that use virtTestLoadFile in exactly the same way:
$ git grep -h 'if (virtTestLoadFile'
if (virtTestLoadFile(outputfile, expect, MAX_FILE) 0)