]> granicus.if.org Git - postgis/commitdiff
[run_test] Use -f _before_ DB argument
authorSandro Santilli <strk@kbt.io>
Sun, 20 Oct 2019 09:00:58 +0000 (09:00 +0000)
committerSandro Santilli <strk@kbt.io>
Sun, 20 Oct 2019 09:00:58 +0000 (09:00 +0000)
Windows version of psql might be picky about it

Hopefully closes #4554

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

regress/run_test.pl

index d785f690f27d877e3eea09b3fc2ee048055d344f..0839f6012d747131c1393f563b70393b8f4f9775 100755 (executable)
@@ -776,7 +776,7 @@ sub run_simple_test
           . " -v \"regdir=$REGDIR\""
           . " -v \"schema=$OPT_SCHEMA.\""
           . " -c \"SET search_path TO public,$OPT_SCHEMA,topology\""
-          . " -tXAq $DB -f $sql > $outfile 2>&1";
+          . " -tXAq -f $sql $DB > $outfile 2>&1";
        my $rv = system($cmd);
 
        # Check for ERROR lines