$OpenBSD: patch-tools_test-runner_pl,v 1.3 2015/01/14 10:58:44 sthen Exp $
Allow tests to run.
See also: https://github.com/pgRouting/pgrouting/pull/284
--- tools/test-runner.pl.orig	Wed Sep 25 00:38:31 2013
+++ tools/test-runner.pl	Sat Jan 10 19:07:01 2015
@@ -20,8 +20,8 @@ my $DRYRUN = 0;
 my $DEBUG = 0;
 
 my $DBNAME = "pgr_test__db__test";
-my $DBUSER = 'postgres';
-my $DBHOST = 'localhost';
+my $DBUSER = getlogin || getpwuid($<) || "postgres";
+my $DBHOST = '${MODPOSTGRESQL_TEST_PGHOST}';
 my $DBPORT = '5432';
 
 sub Usage {
