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

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


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


Reply to: