Re: Running some commands with another uid from debian/rules?
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.
Regards,
Ansgar
Reply to: