You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
git-secret/utils/tests.sh

10 lines
222 B
Bash

#!/usr/bin/env bash
# `SECRET_PROJECT_ROOT` must be set before running the script.
set -e
# Running all the bats-tests:
cd "${SECRET_PROJECT_ROOT}"; rm -rf temp; mkdir temp; cd temp;
bats "${SECRET_PROJECT_ROOT}/tests"