From patchwork Fri Apr 1 09:56:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fam Zheng X-Patchwork-Id: 604657 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qbxcX5FSYz9sdg for ; Fri, 1 Apr 2016 20:57:00 +1100 (AEDT) Received: from localhost ([::1]:43073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alvp3-0008UM-3W for incoming@patchwork.ozlabs.org; Fri, 01 Apr 2016 05:56:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alvon-0008Bv-NG for qemu-devel@nongnu.org; Fri, 01 Apr 2016 05:56:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alvom-00005i-Vp for qemu-devel@nongnu.org; Fri, 01 Apr 2016 05:56:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alvoi-00004r-Pa; Fri, 01 Apr 2016 05:56:36 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2E68BC075659; Fri, 1 Apr 2016 09:56:36 +0000 (UTC) Received: from lemon.redhat.com (vpn1-7-128.pek2.redhat.com [10.72.7.128]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u319uX6F018900; Fri, 1 Apr 2016 05:56:34 -0400 From: Fam Zheng To: qemu-devel@nongnu.org Date: Fri, 1 Apr 2016 17:56:33 +0800 Message-Id: <1459504593-2692-1-git-send-email-famz@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Kevin Wolf , qemu-block@nongnu.org Subject: [Qemu-devel] [PATCH] qemu-iotests: 149: Use "/usr/bin/env python" X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Do the same as other scripts, to pick the correct interpreter between python2 and python3 from the environment. Signed-off-by: Fam Zheng --- tests/qemu-iotests/149 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemu-iotests/149 b/tests/qemu-iotests/149 index bb5811d..52e23d2 100755 --- a/tests/qemu-iotests/149 +++ b/tests/qemu-iotests/149 @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright (C) 2016 Red Hat, Inc. #