[Ovirt-devel] [PATCH] Ensures that cleanup specifies the network interface to be destroyed.

Darryl L. Pierce dpierce at redhat.com
Tue Apr 13 13:30:26 UTC 2010


Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
 autotest.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/autotest.sh b/autotest.sh
index 3431ed4..2f21079 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -691,7 +691,7 @@ cleanup_after_testing () {
     test -n "$vm_list" && for vm in $vm_list; do
         destroy_node $vm
     done
-    stop_networking
+    stop_networking "${IFACE_NAME}" true
 
     # do not delete the work directory if preserve was specified
     if $preserve_vm; then return; fi
@@ -752,6 +752,8 @@ log "Logging results to file: ${RESULTS}"
         execute_test $test
         result=$?
 
+        cleanup_after_testing
+
         if [ $result != 0 ]; then
             echo "${result}" > $result_file
             break
-- 
1.6.6.1




More information about the ovirt-devel mailing list