From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RIn3v-0006FP-3R for garchives@archives.gentoo.org; Tue, 25 Oct 2011 19:53:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF30D21C022; Tue, 25 Oct 2011 19:53:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B6B7121C022 for ; Tue, 25 Oct 2011 19:53:17 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D1BF71B401A for ; Tue, 25 Oct 2011 19:53:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 40C8580043 for ; Tue, 25 Oct 2011 19:53:16 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: / X-VCS-Repository: proj/portage X-VCS-Files: runtests.sh X-VCS-Directories: / X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: cc0b5765fc8ef4b1bb0974bd8cd6cf22df2675e2 Date: Tue, 25 Oct 2011 19:53:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 85f881f0450d1c48c6d1d5120d0a84fa commit: cc0b5765fc8ef4b1bb0974bd8cd6cf22df2675e2 Author: Zac Medico gentoo org> AuthorDate: Tue Oct 25 19:52:40 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Oct 25 19:52:40 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Dcc0b5765 runtests.sh: fix arguments pass-through --- runtests.sh | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/runtests.sh b/runtests.sh index 31bbaf8..b7313b7 100755 --- a/runtests.sh +++ b/runtests.sh @@ -27,6 +27,8 @@ interrupted() { =20 trap interrupted SIGINT =20 +unused_args=3D() + while [[ -n $1 ]] ; do case "$1" in --python-versions=3D*) @@ -36,10 +38,15 @@ while [[ -n $1 ]] ; do shift PYTHON_VERSIONS=3D$1 ;; + *) + unused_args[${#unused_args[@]}]=3D$1 + ;; esac shift done =20 +set -- "${unused_args[@]}" + exit_status=3D"0" for version in ${PYTHON_VERSIONS}; do if [[ -x /usr/bin/python${version} ]]; then