]> granicus.if.org Git - pdns/commitdiff
fix up postgresql tests, plus write out status of dnssec tests to the report
authorBert Hubert <bert.hubert@netherlabs.nl>
Wed, 27 Apr 2011 19:54:00 +0000 (19:54 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Wed, 27 Apr 2011 19:54:00 +0000 (19:54 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2187 d19b8d6e-7fed-0310-83ef-9ca221ded41b

build-scripts/do-regress

index f6462891eda5d0217dce78a4888cdd70f0f5c8e6..7d830c1e8fc10eec39784ab35a1392b7482edf53 100755 (executable)
@@ -50,7 +50,8 @@ initPostgreSQL()
        standardConfig > pdns.conf
        (echo launch=gpgsql 
        echo gpgsql-dbname=pdnsregress
-       echo gpgsql-user=ahu ) >> pdns.conf
+       echo gpgsql-user=ahu
+       echo gpgsql-host=/var/run/postgresql/ ) >> pdns.conf
 }
 
 upgradePostgreSQL()
@@ -121,7 +122,7 @@ function doTests()
        ../pdns/pdns_server --config-dir=./ --daemon=no &
 
        sleep 2
-       drill -t soa -D dnssec-parent.com @127.0.0.1 -p 5299 -k trusted
+       drill -t soa -D dnssec-parent.com @127.0.0.1 -p 5299 -k trusted >> ../../with-dnssec-$DBTYPE
        kill %1
        wait
 }