[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running some commands with another uid from debian/rules?



Dear Ansgar,

On Mon, Nov 21, 2011 at 09:31:07AM +0100, Ansgar Burchardt wrote:
> Hi,

> Cédric Boutillier <cedric.boutillier@gmail.com> writes:
> > For this package, I would need to run an instance of postgres server to
> > be able to run the test suite of the package. Contrary to mysqld,
> > postgres refuses to be run as root. I tried to use su/sudo but I get
> > some error when I try to build the package (with git-buildpackage which
> > is I guess using fakeroot):

> libdbd-pg-perl does run some tests with a Postgresql instance it sets up
> for testing.  The code to start the server is somewhere in
> t/dbdpg_test_setup.pl.

Thank you for your answer. I will try to follow (some of) the logic of
that script.

Best regards,

	Cédric

Attachment: signature.asc
Description: Digital signature


Reply to: