changeset 2478 | 34959e45030b |
parent 2476 | 25342deb3749 |
child 2488 | 010931d9cabe |
--- a/src/tests/pkg5unittest.py Thu Jul 28 14:24:17 2011 +1200 +++ b/src/tests/pkg5unittest.py Wed Jul 27 19:53:47 2011 -0700 @@ -1618,6 +1618,10 @@ return self.cmdline_run(cmdline, comment=comment, exit=exit, su_wrap=su_wrap) + def pkgfmt(self, args, exit=0, su_wrap=False): + cmd="%s/usr/bin/pkgfmt %s" % (g_proto_area, args) + self.cmdline_run(cmd, exit=exit, su_wrap=su_wrap) + def pkglint(self, args, exit=0, comment="", testrc=True): if testrc: rcpath = "%s/pkglintrc" % self.test_root