bsky-app/bskylink/tests/infra/with-test-db.sh

10 lines
194 B
Bash
Executable File

#!/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 "$@"