run-tests.sh (347B)
1 #!/usr/bin/env bash 2 3 # Unofficial Bash Strict Mode 4 # http://redsymbol.net/articles/unofficial-bash-strict-mode/ 5 set -euo pipefail 6 IFS=$'\n\t' 7 # End of Unofficial Bash Strict Mode 8 9 this_script="$( readlink -f "${BASH_SOURCE[0]}" )" 10 script_dir="$( dirname "${this_script}" )" 11 top_dir="$( dirname "${script_dir}" )" 12 13 cd "${top_dir}" 14 15 pg_prove t/*sql