1#!/usr/bin/env sh
2
3# Example usage:
4# ./with-test-redis-and-db.sh psql postgresql://pg:password@localhost:5433/postgres -c 'select 1;'
5# ./with-test-redis-and-db.sh redis-cli -h localhost -p 6380 ping
6
7dir=$(dirname $0)
8. ${dir}/_common.sh
9
10SERVICES="db_test redis_test" main "$@"