public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][KVM-AUTOTEST] Have Custom install chdir to test.bindir
@ 2009-05-20 20:38 Mike Burns
  2009-05-20 20:38 ` [PATCH][KVM-AUTOTEST] Check exit status of custom install script and fail if script failed Mike Burns
  2009-05-24 14:51 ` [PATCH][KVM-AUTOTEST] Have Custom install chdir to test.bindir Avi Kivity
  0 siblings, 2 replies; 8+ messages in thread
From: Mike Burns @ 2009-05-20 20:38 UTC (permalink / raw)
  To: kvm; +Cc: dhuff, ulublin, Mike Burns

If you are using custom install and load_modules=yes, then autotest needs to
change to the test.bindir so that it looks for kernel modules in the right
place.

Signed-off-by: Mike Burns <mburns@redhat.com>
---
 client/tests/kvm_runtest_2/kvm_install.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/client/tests/kvm_runtest_2/kvm_install.py b/client/tests/kvm_runtest_2/kvm_install.py
index d1aceb2..ebd8b7d 100755
--- a/client/tests/kvm_runtest_2/kvm_install.py
+++ b/client/tests/kvm_runtest_2/kvm_install.py
@@ -79,6 +79,7 @@ def run_kvm_install(test, params, env):
 
     # install from custom script
     elif install_mode == "custom":
+        os.chdir(test.bindir)
         install_script = params.get("install_script")
         script = os.path.join(test.bindir,install_script)
         if not install_script:
-- 
1.5.5.6


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-06-01 18:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-20 20:38 [PATCH][KVM-AUTOTEST] Have Custom install chdir to test.bindir Mike Burns
2009-05-20 20:38 ` [PATCH][KVM-AUTOTEST] Check exit status of custom install script and fail if script failed Mike Burns
2009-05-24 14:48   ` Avi Kivity
2009-05-28  6:25     ` Lucas Meneghel Rodrigues
2009-06-01  7:57       ` Avi Kivity
2009-06-01 18:22         ` Mike Burns
2009-05-24 14:51 ` [PATCH][KVM-AUTOTEST] Have Custom install chdir to test.bindir Avi Kivity
2009-06-01 18:39   ` Mike Burns

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox