tools: Fix postgres-init-*-db cache handling.

Previously, it didn't properly update the stamp files that determine
our caching behavior, so if one ran test-backend afterwards, nothing
would happen.

A secondary issue that this commit does not fix is that provision will
end up rerunning the whole thing.
This commit is contained in:
Tim Abbott
2019-06-17 16:09:07 -07:00
parent 544f9c74ce
commit 9760c8cfc9
3 changed files with 17 additions and 8 deletions

View File

@@ -2,4 +2,4 @@
set -x
set -e
"$(dirname "$0")/postgres-init-dev-db" zulip_test "$("$(dirname "$0")/../../scripts/get-django-setting" LOCAL_DATABASE_PASSWORD)" zulip_test zulip,public
"$(dirname "$0")/postgres-init-dev-db" zulip_test "$("$(dirname "$0")/../../scripts/get-django-setting" LOCAL_DATABASE_PASSWORD)" zulip_test zulip,public migration_status_test