From: Regina Obe Date: Sat, 5 Aug 2017 16:22:11 +0000 (+0000) Subject: Fix dump/restore test (arguments out of order) X-Git-Tag: 2.4.0alpha~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db18bd2620264f505ea23e2ce8e87c2400207564;p=postgis 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 git-svn-id: http://svn.osgeo.org/postgis/trunk@15528 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/.drone.yml b/.drone.yml index f2965da78..12ebe2cb2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/regress/run_test.pl b/regress/run_test.pl index 9237d8fbe..4ee45c562 100755 --- a/regress/run_test.pl +++ b/regress/run_test.pl @@ -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;