projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65f3a4d
)
SpawnTestCase: check returncode
author
Zac Medico
<zmedico@gentoo.org>
Thu, 9 Jun 2011 10:59:08 +0000
(
03:59
-0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 9 Jun 2011 10:59:08 +0000
(
03:59
-0700)
pym/portage/tests/ebuild/test_spawn.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/ebuild/test_spawn.py
b/pym/portage/tests/ebuild/test_spawn.py
index d3fb21f8bd77bc3bc93d50da9e5e859780c433bb..89a6c280778b8c9b7e7b8f840fc22ccde1bbf791 100644
(file)
--- 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')