From patchwork Tue Jun 9 16:33:26 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: 29046 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 n59GXq7P022980 for ; Tue, 9 Jun 2009 16:33:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755984AbZFIQdh (ORCPT ); Tue, 9 Jun 2009 12:33:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754959AbZFIQdh (ORCPT ); Tue, 9 Jun 2009 12:33:37 -0400 Received: from mx2.redhat.com ([66.187.237.31]:45326 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755412AbZFIQdf (ORCPT ); Tue, 9 Jun 2009 12:33:35 -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 n59GXcAO000348; Tue, 9 Jun 2009 12:33:38 -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 n59GXXA1004134; Tue, 9 Jun 2009 12:33:34 -0400 Received: from localhost.localdomain (vpn-10-103.bos.redhat.com [10.16.10.103]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n59GXVmG000563; Tue, 9 Jun 2009 12:33:32 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [KVM-AUTOTEST PATCH 1/4] Make all programs on kvm test use /usr/bin/python Date: Tue, 9 Jun 2009 13:33:26 -0300 Message-Id: <1244565209-9132-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 All kvm modules that can be used as stand alone programs were updated to use #!/usr/bin/python instead of #!/usr/bin/env python, complying with the rest of the autotest code base. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/fix_cdkeys.py | 2 +- client/tests/kvm/kvm_config.py | 1 + client/tests/kvm/scan_results.py | 2 +- client/tests/kvm/stepeditor.py | 2 +- client/tests/kvm/stepmaker.py | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/client/tests/kvm/fix_cdkeys.py b/client/tests/kvm/fix_cdkeys.py index 4f7a824..7f52c44 100755 --- a/client/tests/kvm/fix_cdkeys.py +++ b/client/tests/kvm/fix_cdkeys.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python import shutil, os, sys """ diff --git a/client/tests/kvm/kvm_config.py b/client/tests/kvm/kvm_config.py index 40f16f1..a3467a0 100755 --- a/client/tests/kvm/kvm_config.py +++ b/client/tests/kvm/kvm_config.py @@ -1,3 +1,4 @@ +#!/usr/bin/python import re, os, sys, StringIO from autotest_lib.client.common_lib import error diff --git a/client/tests/kvm/scan_results.py b/client/tests/kvm/scan_results.py index 156b7d4..a92c867 100755 --- a/client/tests/kvm/scan_results.py +++ b/client/tests/kvm/scan_results.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python """ Program that parses the autotest results and return a nicely printed final test result. diff --git a/client/tests/kvm/stepeditor.py b/client/tests/kvm/stepeditor.py index 9669200..6fb371b 100755 --- a/client/tests/kvm/stepeditor.py +++ b/client/tests/kvm/stepeditor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python import pygtk, gtk, os, glob, shutil, sys, logging import ppm_utils pygtk.require('2.0') diff --git a/client/tests/kvm/stepmaker.py b/client/tests/kvm/stepmaker.py index 2b7fd54..a9ddf25 100644 --- a/client/tests/kvm/stepmaker.py +++ b/client/tests/kvm/stepmaker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python import pygtk, gtk, gobject, time, os, commands from autotest_lib.client.common_lib import error import kvm_utils, logging, ppm_utils, stepeditor