From 893bd71d3180ca0ae916e169d429b0e00f2ec09f Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Sun, 14 Oct 2018 13:38:16 +0000 Subject: [PATCH] [run_test.pl] honour -v upon postgis extension drop failure git-svn-id: http://svn.osgeo.org/postgis/trunk@16894 b70326c6-7e19-0410-871a-916f4a2858ee --- regress/run_test.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/regress/run_test.pl b/regress/run_test.pl index 2baaaf1f4..6ead30545 100755 --- a/regress/run_test.pl +++ b/regress/run_test.pl @@ -1640,8 +1640,10 @@ sub drop_spatial_extensions $cmd = "psql $psql_opts -c \"DROP EXTENSION postgis\" $DB >> $REGRESS_LOG 2>&1"; $rv = system($cmd); - die "\nError encountered dropping EXTENSION POSTGIS, see $REGRESS_LOG for details\n\n" - if $rv; + if ( $rv ) { + fail "Error encountered dropping EXTENSION POSTGIS", $REGRESS_LOG; + die; + } return $ok; } -- 2.40.0