diff mbox

[1/2] KVM test: Make sure setup does not execute on unattended install

Message ID 1263910491-2788-1-git-send-email-lmr@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lucas Meneghel Rodrigues Jan. 19, 2010, 2:14 p.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/tests.cfg.sample b/client/tests/kvm/tests.cfg.sample
index c6a66a4..72a5d76 100644
--- a/client/tests/kvm/tests.cfg.sample
+++ b/client/tests/kvm/tests.cfg.sample
@@ -60,7 +60,7 @@  variants:
         only WinXP.32
         no install setup
         no hugepages
-        only unattended_install setup boot shutdown
+        only unattended_install boot shutdown
         only rtl8139
     - @fc11_kickstart:
         only qemu-kvm
diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample
index 0ab7823..15d137f 100644
--- a/client/tests/kvm/tests_base.cfg.sample
+++ b/client/tests/kvm/tests_base.cfg.sample
@@ -53,8 +53,17 @@  variants:
         kill_vm_timeout = 60
         kill_vm_timeout_on_error = 0
 
+    - setup:        install
+        type = steps
+        fail_if_stuck_for = 300
+        stuck_detection_history = 2
+        kill_vm_on_error = yes
+        keep_screendump_history = yes
+
     - unattended_install:
         type = unattended_install
+        # Unattended install also perform guest setup, so setup is not needed
+        no setup
         kill_vm_on_error = yes
         force_create_image = yes
         pre_command = scripts/unattended.py
@@ -62,13 +71,6 @@  variants:
         extra_params += " -boot d"
         nic_mode = user
 
-    - setup:        install unattended_install
-        type = steps
-        fail_if_stuck_for = 300
-        stuck_detection_history = 2
-        kill_vm_on_error = yes
-        keep_screendump_history = yes
-
     - boot:         install setup unattended_install
         type = boot
         kill_vm_on_error = yes