]> granicus.if.org Git - postgis/commitdiff
Fix dump/restore test (arguments out of order)
authorRegina Obe <lr@pcorp.us>
Sat, 5 Aug 2017 16:22:11 +0000 (16:22 +0000)
committerRegina Obe <lr@pcorp.us>
Sat, 5 Aug 2017 16:22:11 +0000 (16:22 +0000)
Closes #3801 for PostGIS 2.4.0
Turn off interrupt tests on dronie, too many false failures

git-svn-id: http://svn.osgeo.org/postgis/trunk@15528 b70326c6-7e19-0410-871a-916f4a2858ee

.drone.yml
regress/run_test.pl

index f2965da78a3b2a05e60ada4eb2229e88f9809c42..12ebe2cb249ef5b63d26397d46cb33140d1c08a6 100644 (file)
@@ -13,7 +13,7 @@ pipeline:
     pull: true
     commands:
       - ./autogen.sh
-      - ./configure CFLAGS="-O0 -Wall"
+      - ./configure CFLAGS="-O0 -Wall" --without-interrupt-tests
       - make
   check:
     image: *test-image
index 9237d8fbefd791c00f1f75ebaaaec11577c284a7..4ee45c56230d0e7b5d71c5568201b3320f5d6684 100755 (executable)
@@ -1533,7 +1533,7 @@ sub dump_restore
 
        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;