Skip to content

Commit 1462c3e

Browse files
author
Sandro Santilli
committed
Hide errors from dropdb (expected the first time)
1 parent 89d7497 commit 1462c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/prepare_db.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ die() {
3131
}
3232

3333
echo "preparing postgres..."
34-
dropdb ${TEST_DB}
34+
dropdb ${TEST_DB} 2> /dev/null # error expected if doesn't exist
3535
createdb -Ttemplate_postgis -EUTF8 ${TEST_DB} || die "Could not create test database"
3636
psql -f test.sql ${TEST_DB}
3737

0 commit comments

Comments
 (0)