From patchwork Mon Nov 2 23:28:01 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Harper X-Patchwork-Id: 57174 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 nA2NSCf5006427 for ; Mon, 2 Nov 2009 23:28:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757261AbZKBX2F (ORCPT ); Mon, 2 Nov 2009 18:28:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757248AbZKBX2F (ORCPT ); Mon, 2 Nov 2009 18:28:05 -0500 Received: from e33.co.us.ibm.com ([32.97.110.151]:46630 "EHLO e33.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757261AbZKBX2E (ORCPT ); Mon, 2 Nov 2009 18:28:04 -0500 Received: from d03relay01.boulder.ibm.com (d03relay01.boulder.ibm.com [9.17.195.226]) by e33.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id nA2NPZen020135 for ; Mon, 2 Nov 2009 16:25:35 -0700 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay01.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id nA2NS5l1135182 for ; Mon, 2 Nov 2009 16:28:05 -0700 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id nA2NS52q022652 for ; Mon, 2 Nov 2009 16:28:05 -0700 Received: from localhost.localdomain (frylock.austin.ibm.com [9.53.41.12]) by d03av01.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id nA2NS51T022649; Mon, 2 Nov 2009 16:28:05 -0700 Received: by localhost.localdomain (Postfix, from userid 1000) id 16C831BF81; Mon, 2 Nov 2009 17:28:01 -0600 (CST) Date: Mon, 2 Nov 2009 17:28:01 -0600 From: Ryan Harper To: autotest@test.kernel.org Cc: kvm@vger.kernel.org Subject: [KVM-AUTOTEST][PATCH] Fix kvm_config.py -f mode Message-ID: <20091102232801.GR13808@us.ibm.com> Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/client/tests/kvm/kvm_config.py b/client/tests/kvm/kvm_config.py index 3114c07..52de4c7 100755 --- a/client/tests/kvm/kvm_config.py +++ b/client/tests/kvm/kvm_config.py @@ -501,7 +501,7 @@ class config: if __name__ == "__main__": parser = optparse.OptionParser() - parser.add_option('-f', '--file', dest="filename", action='store_true', + parser.add_option('-f', '--file', dest="filename", action='store', help='path to a config file that will be parsed. ' 'If not specified, will parse kvm_tests.cfg ' 'located inside the kvm test dir.')