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 1QUcxe-0002uO-OM for garchives@archives.gentoo.org; Thu, 09 Jun 2011 10:59:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A05F11C093; Thu, 9 Jun 2011 10:59:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 74D941C093 for ; Thu, 9 Jun 2011 10:59:31 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DBB521B401B for ; Thu, 9 Jun 2011 10:59:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 1F64D8003C for ; Thu, 9 Jun 2011 10:59:30 +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: <29b8ad2f115bdb146ecc2ed932e4af5f1bb955ff.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/tests/ebuild/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/tests/ebuild/test_spawn.py X-VCS-Directories: pym/portage/tests/ebuild/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 29b8ad2f115bdb146ecc2ed932e4af5f1bb955ff Date: Thu, 9 Jun 2011 10:59:30 +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: 536608b619d62b81c06b4846f10c7537 commit: 29b8ad2f115bdb146ecc2ed932e4af5f1bb955ff Author: Zac Medico gentoo org> AuthorDate: Thu Jun 9 10:59:08 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Jun 9 10:59:08 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D29b8ad2f SpawnTestCase: check returncode --- pym/portage/tests/ebuild/test_spawn.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pym/portage/tests/ebuild/test_spawn.py b/pym/portage/tests/e= build/test_spawn.py index d3fb21f..89a6c28 100644 --- a/pym/portage/tests/ebuild/test_spawn.py +++ b/pym/portage/tests/ebuild/test_spawn.py @@ -30,8 +30,8 @@ class SpawnTestCase(TestCase): scheduler=3Dscheduler, logfile=3Dlogfile) proc.start() - proc.wait() os.close(null_fd) + self.assertEqual(proc.wait(), os.EX_OK) f =3D codecs.open(_unicode_encode(logfile, encoding=3D_encodings['fs'], errors=3D'strict'), mode=3D'r', encoding=3D_encodings['content'], errors=3D'strict')