[PATCH] libvirt-tck: 052-domain-hook.t - reload after hook cleanup

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

 



Reload libvirtd after hook testing has completed. Otherwise, libvirtd
is still expecting hook test scripts to exist.

---
 scripts/hooks/052-domain-hook.t | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/hooks/052-domain-hook.t b/scripts/hooks/052-domain-hook.t
index 90b8a48..d1070b5 100644
--- a/scripts/hooks/052-domain-hook.t
+++ b/scripts/hooks/052-domain-hook.t
@@ -180,4 +180,8 @@ SKIP: {
          Sys::Virt::Error::ERR_NO_DOMAIN);
 
     $hook->cleanup();
+
+    diag "reload libvirtd after hook cleanup";
+    $hook->action('reload');
+    $hook->service_libvirtd();
 };
-- 
1.8.4.5

--
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]