def test_bug_11805(self):
"""Test that paths as payloads work for file actions.
This tests both that file actions with payloads have their
dependencies analyzed correctly and that the correct path is
used for internal dependency resolution."""
proto = pkg5unittest.g_proto_area
tp = self.make_manifest(self.payload_manf)
self.pkgdepend_generate("-d {0} {1}".format(proto, tp))
self.check_res(self.make_res_payload_1(proto,
"usr/lib/python{0}/foo/bar.py".format(py_ver_default)),
self.output)
self.check_res("", self.errout)
评论列表
文章目录