[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]