[libvirt] [PATCH 4/4] Test virSystemd APIs twice to check the cache effects

Ján Tomko jtomko at redhat.com
Thu Feb 23 11:53:09 UTC 2017


Test virSystemd APIs twice to check the cache effects.
---
 tests/virsystemdtest.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/virsystemdtest.c b/tests/virsystemdtest.c
index eca6e84..6ba532d 100644
--- a/tests/virsystemdtest.c
+++ b/tests/virsystemdtest.c
@@ -525,6 +525,8 @@ mymain(void)
     do {                                                                \
         if (virTestRun(_name, func, NULL) < 0)                          \
             ret = -1;                                                   \
+        if (virTestRun(_name "again ", func, NULL) < 0)                 \
+            ret = -1;                                                   \
         virSystemdCreateMachineResetCachedValue();                      \
     } while (0)
 
-- 
2.10.2




More information about the libvir-list mailing list