test.sh: update PATH to use project tooling

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
This commit is contained in:
Damien Grisonnet 2020-04-07 10:55:17 +02:00
parent c9900d6a57
commit 7b4adb08f6

View File

@ -3,6 +3,8 @@ set -e
# only exit with zero if all commands of the pipeline exit successfully # only exit with zero if all commands of the pipeline exit successfully
set -o pipefail set -o pipefail
# Make sure to use project tooling
PATH="$(pwd)/tmp/bin:${PATH}"
for i in examples/jsonnet-snippets/*.jsonnet; do for i in examples/jsonnet-snippets/*.jsonnet; do
[ -f "$i" ] || break [ -f "$i" ] || break