public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/tests/ebuild/
Date: Thu,  9 Jun 2011 10:59:30 +0000 (UTC)	[thread overview]
Message-ID: <29b8ad2f115bdb146ecc2ed932e4af5f1bb955ff.zmedico@gentoo> (raw)

commit:     29b8ad2f115bdb146ecc2ed932e4af5f1bb955ff
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  9 10:59:08 2011 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Jun  9 10:59:08 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=29b8ad2f

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/ebuild/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=scheduler,
 				logfile=logfile)
 			proc.start()
-			proc.wait()
 			os.close(null_fd)
+			self.assertEqual(proc.wait(), os.EX_OK)
 			f = codecs.open(_unicode_encode(logfile,
 				encoding=_encodings['fs'], errors='strict'),
 				mode='r', encoding=_encodings['content'], errors='strict')



             reply	other threads:[~2011-06-09 10:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09 10:59 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-09-04 19:06 [gentoo-commits] proj/portage:master commit in: pym/portage/tests/ebuild/ Zac Medico
2011-09-15  2:55 Zac Medico
2011-10-04  6:18 Zac Medico
2011-10-25 16:41 Zac Medico
2011-12-16  3:23 Zac Medico
2012-01-13  2:46 Zac Medico
2012-02-09  0:46 Zac Medico
2012-07-05  0:38 Zac Medico
2012-09-26 18:22 Zac Medico
2012-10-05  4:08 Zac Medico
2012-10-08 15:09 Zac Medico
2012-10-08 16:09 Zac Medico
2013-01-11  7:22 Zac Medico
2013-07-07  2:48 Zac Medico
2013-07-07 20:23 Zac Medico
2013-07-07 20:25 Zac Medico
2013-07-25 20:42 Zac Medico
2016-01-17  2:55 Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29b8ad2f115bdb146ecc2ed932e4af5f1bb955ff.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox