diff options
Diffstat (limited to 'jest/dev-infra/with-test-db.sh')
-rwxr-xr-x | jest/dev-infra/with-test-db.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/jest/dev-infra/with-test-db.sh b/jest/dev-infra/with-test-db.sh new file mode 100755 index 000000000..cc083491a --- /dev/null +++ b/jest/dev-infra/with-test-db.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env sh + +# Example usage: +# ./with-test-db.sh psql postgresql://pg:password@localhost:5433/postgres -c 'select 1;' + +dir=$(dirname $0) +. ${dir}/_common.sh + +SERVICES="db_test" main "$@" |