aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/test.sh
blob: e1231248a7e71e97f94854701b7d9eabfd5f0772 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -o errexit
set -o nounset

DIR=$(dirname "$0")
ROOT_DIR="$DIR/../"

main() {
  "$ROOT_DIR/vendor/bats/bin/bats" "$ROOT_DIR/tests/tests.sh"
}

main "$@"