if [[ ! "$0" =~ ^/.* ]]; then
# re-run the script with an absolute path if it didn't start out that way; otherwise,
# shunit is not happy with finding the script.
if [[ ! "$0" =~ ^/.* ]]; then
# re-run the script with an absolute path if it didn't start out that way; otherwise,
# shunit is not happy with finding the script.