]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Test virSystemd APIs twice to check the cache effects
authorJán Tomko <jtomko@redhat.com>
Thu, 23 Feb 2017 11:32:54 +0000 (12:32 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 6 Mar 2017 14:44:46 +0000 (15:44 +0100)
Test virSystemd APIs twice to check the cache effects.

tests/virsystemdtest.c

index d1f8e6f608696dd9d77780dddf14647489560cfb..4cf40213080b7dfd981b155a5a95717e30598f1b 100644 (file)
@@ -525,6 +525,8 @@ mymain(void)
     do {                                                                \
         if (virTestRun(_name, func, NULL) < 0)                          \
             ret = -1;                                                   \
+        if (virTestRun(_name "again ", func, NULL) < 0)                 \
+            ret = -1;                                                   \
         virSystemdHasMachinedResetCachedValue();                        \
     } while (0)