mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
Test virSystemd APIs twice to check the cache effects
Test virSystemd APIs twice to check the cache effects.
This commit is contained in:
parent
f10bd740e1
commit
9b1bd138f1
@ -525,6 +525,8 @@ mymain(void)
|
|||||||
do { \
|
do { \
|
||||||
if (virTestRun(_name, func, NULL) < 0) \
|
if (virTestRun(_name, func, NULL) < 0) \
|
||||||
ret = -1; \
|
ret = -1; \
|
||||||
|
if (virTestRun(_name "again ", func, NULL) < 0) \
|
||||||
|
ret = -1; \
|
||||||
virSystemdHasMachinedResetCachedValue(); \
|
virSystemdHasMachinedResetCachedValue(); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user