From patchwork Mon Jun 1 19:30:46 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 27269 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n51JV32h015136 for ; Mon, 1 Jun 2009 19:31:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752685AbZFATat (ORCPT ); Mon, 1 Jun 2009 15:30:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753126AbZFATat (ORCPT ); Mon, 1 Jun 2009 15:30:49 -0400 Received: from mx2.redhat.com ([66.187.237.31]:60428 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751228AbZFATat (ORCPT ); Mon, 1 Jun 2009 15:30:49 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n51JUpIU025190; Mon, 1 Jun 2009 15:30:51 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n51JUo1u003747; Mon, 1 Jun 2009 15:30:50 -0400 Received: from localhost.localdomain (vpn-12-224.rdu.redhat.com [10.11.12.224]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n51JUlSS004871; Mon, 1 Jun 2009 15:30:48 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [PATCH] Fix import of modules from inside the kvm module. Date: Mon, 1 Jun 2009 16:30:46 -0300 Message-Id: <1243884646-17502-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Import of modules present inside the kvm test is broken due to a path that wasn't converted when the test got renamed from kvm_runtest_2 to kvm. Fixing the problem. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/control | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/tests/kvm/control b/client/tests/kvm/control index eb38686..154d513 100644 --- a/client/tests/kvm/control +++ b/client/tests/kvm/control @@ -45,8 +45,8 @@ Each test is appropriately documented on each test docstrings. import sys, os -# enable modules import from current directory (tests/kvm_runtest_2) -pwd = os.path.join(os.environ['AUTODIR'],'tests/kvm_runtest_2') +# enable modules import from current directory (tests/kvm) +pwd = os.path.join(os.environ['AUTODIR'],'tests/kvm') sys.path.append(pwd) # ------------------------