10 lines
194 B
Bash
10 lines
194 B
Bash
|
#!/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 "$@"
|