Hide errors from dropdb (expected the first time)
This commit is contained in:
parent
89d74970e1
commit
1462c3ed3e
@ -31,7 +31,7 @@ die() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo "preparing postgres..."
|
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"
|
createdb -Ttemplate_postgis -EUTF8 ${TEST_DB} || die "Could not create test database"
|
||||||
psql -f test.sql ${TEST_DB}
|
psql -f test.sql ${TEST_DB}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user