From 1462c3ed3eca44e5c204702e27b2d19e5336da3c Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 12 Jul 2012 22:38:15 +0200 Subject: [PATCH] Hide errors from dropdb (expected the first time) --- test/prepare_db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/prepare_db.sh b/test/prepare_db.sh index b5bb50c8..f20f0e45 100755 --- a/test/prepare_db.sh +++ b/test/prepare_db.sh @@ -31,7 +31,7 @@ die() { } echo "preparing postgres..." -dropdb ${TEST_DB} +dropdb ${TEST_DB} 2> /dev/null # error expected if doesn't exist createdb -Ttemplate_postgis -EUTF8 ${TEST_DB} || die "Could not create test database" psql -f test.sql ${TEST_DB}