From: Zac Medico Date: Sun, 7 Jul 2013 20:23:00 +0000 (-0700) Subject: test_doebuild_fd_pipes: test pkg_info X-Git-Tag: v2.2.0_alpha187~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3d91f92b653b0583f710abcc40c8ebfe4af868e8;p=portage.git test_doebuild_fd_pipes: test pkg_info --- diff --git a/pym/portage/tests/ebuild/test_doebuild_fd_pipes.py b/pym/portage/tests/ebuild/test_doebuild_fd_pipes.py index 6fdda5fea..f0fc93373 100644 --- a/pym/portage/tests/ebuild/test_doebuild_fd_pipes.py +++ b/pym/portage/tests/ebuild/test_doebuild_fd_pipes.py @@ -33,6 +33,7 @@ class DoebuildFdPipesTestCase(TestCase): ebuild_body = textwrap.dedent(""" S=${WORKDIR} + pkg_info() { echo info ; } pkg_nofetch() { echo nofetch ; } pkg_pretend() { echo pretend ; } pkg_setup() { echo setup ; } @@ -78,8 +79,9 @@ class DoebuildFdPipesTestCase(TestCase): ebuildpath = portdb.findname(cpv) self.assertNotEqual(ebuildpath, None) - for phase in ('pretend', 'setup', 'unpack', 'prepare', 'configure', - 'compile', 'test', 'install', 'clean', 'merge', 'nofetch'): + for phase in ('info', 'nofetch', + 'pretend', 'setup', 'unpack', 'prepare', 'configure', + 'compile', 'test', 'install', 'clean', 'merge'): pr, pw = os.pipe()