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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux