[libvirt] [PATCH 2/3] tests: sysinfotest: Actual/expected were swapped in error message.

Richard W.M. Jones rjones at redhat.com
Wed Jan 1 15:49:54 UTC 2014


From: "Richard W.M. Jones" <rjones at redhat.com>

---
 tests/sysinfotest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/sysinfotest.c b/tests/sysinfotest.c
index 8357701..c8675f9 100644
--- a/tests/sysinfotest.c
+++ b/tests/sysinfotest.c
@@ -83,7 +83,7 @@ testSysinfo(const void *data)
         goto cleanup;
 
     if (STRNEQ(sysfsActualData, sysfsExpectData)) {
-        virtTestDifference(stderr, sysfsActualData, sysfsExpectData);
+        virtTestDifference(stderr, sysfsExpectData, sysfsActualData);
         goto cleanup;
     }
 
-- 
1.8.3.1




More information about the libvir-list mailing list