[postgis-tickets] r15528 - Fix dump/restore test (arguments out of order)

Regina Obe lr at pcorp.us
Sat Aug 5 09:22:11 PDT 2017


Author: robe
Date: 2017-08-05 09:22:11 -0700 (Sat, 05 Aug 2017)
New Revision: 15528

Modified:
   trunk/.drone.yml
   trunk/regress/run_test.pl
Log:
Fix dump/restore test (arguments out of order)
Closes #3801 for PostGIS 2.4.0
Turn off interrupt tests on dronie, too many false failures

Modified: trunk/.drone.yml
===================================================================
--- trunk/.drone.yml	2017-08-05 15:57:31 UTC (rev 15527)
+++ trunk/.drone.yml	2017-08-05 16:22:11 UTC (rev 15528)
@@ -13,7 +13,7 @@
     pull: true
     commands:
       - ./autogen.sh
-      - ./configure CFLAGS="-O0 -Wall"
+      - ./configure CFLAGS="-O0 -Wall" --without-interrupt-tests
       - make
   check:
     image: *test-image

Modified: trunk/regress/run_test.pl
===================================================================
--- trunk/regress/run_test.pl	2017-08-05 15:57:31 UTC (rev 15527)
+++ trunk/regress/run_test.pl	2017-08-05 16:22:11 UTC (rev 15528)
@@ -1533,7 +1533,7 @@
 
 	print "Dumping and restoring database '${DB}'\n";
 
-  $rv = system("pg_dump -Fc ${DB} -f ${DBDUMP} >> $REGRESS_LOG 2>&1");
+  $rv = system("pg_dump -Fc -f${DBDUMP} ${DB} >> $REGRESS_LOG 2>&1");
   if ( $rv ) {
     fail("Could not dump ${DB}", $REGRESS_LOG);
 		die;



More information about the postgis-tickets mailing list