]> granicus.if.org Git - postgis/commitdiff
Advertise -v, do not load rc file while fetching databases list
authorSandro Santilli <strk@keybit.net>
Thu, 10 Oct 2013 07:11:34 +0000 (07:11 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 10 Oct 2013 07:11:34 +0000 (07:11 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12024 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test.pl

index dc26303367e04b78353a1f739a5e0a16fb0e5453..6b1a970cf8769cd187c6c9edeee54d5c0d23e64d 100755 (executable)
@@ -171,7 +171,7 @@ print "TMPDIR is $TMPDIR\n";
 # Prepare the database
 ##################################################################
 
-my @dblist = grep(/$DB/, split(/\n/, `psql -l`));
+my @dblist = grep(/$DB/, split(/\n/, `psql -Xl`));
 my $dbcount = @dblist;
 
 if ( $dbcount == 0 )
@@ -362,15 +362,15 @@ sub usage
        die qq{
 Usage: $0 [<options>] <testname> [<testname>]
 Options:
-  --verbose    be verbose about failures
-  --nocreate   do not create the regression database on start
-  --upgrade    source the upgrade scripts on start
-  --nodrop     do not drop the regression database on exit
-  --raster     load also raster extension
-  --topology   load also topology extension
-  --sfcgal     use also sfcgal backend
-  --clean      cleanup test logs on exit
-  --expect     save obtained output as expected
+  -v, --verbose   be verbose about failures
+  --nocreate      do not create the regression database on start
+  --upgrade       source the upgrade scripts on start
+  --nodrop        do not drop the regression database on exit
+  --raster        load also raster extension
+  --topology      load also topology extension
+  --sfcgal        use also sfcgal backend
+  --clean         cleanup test logs on exit
+  --expect        save obtained output as expected
 };
 
 }