summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-08-03 10:01:59 +0200
committerPatrick Steinhardt <ps@pks.im>2018-08-03 10:01:59 +0200
commit835d60432082b87984211b60ab82791c01011b1b (patch)
treeb1120efb0775e056444011d59570fb11de0c6746 /ci
parente38ddc90bf2b77fce422014f2785a9124d21263f (diff)
downloadlibgit2-835d60432082b87984211b60ab82791c01011b1b.tar.gz
ci: fix location of fuzzer corpora on VSTS
When using VSTS-based builds, we are in a different location than when doing Travis builds. Due to this, the relative path to our fuzzer corpora does not work on VSTS. Fix it by using `${SOURCE_DIR}` instead.
Diffstat (limited to 'ci')
-rwxr-xr-xci/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/test.sh b/ci/test.sh
index 0a1cff2d3..a9a853720 100755
--- a/ci/test.sh
+++ b/ci/test.sh
@@ -191,7 +191,7 @@ if [ -z "$SKIP_FUZZERS" ]; then
echo "##############################################################################"
for fuzzer in fuzzers/*_fuzzer; do
- "${fuzzer}" "../fuzzers/corpora/$(basename "${fuzzer%_fuzzer}")" || die $?
+ "${fuzzer}" "${SOURCE_DIR}/fuzzers/corpora/$(basename "${fuzzer%_fuzzer}")" || die $?
done
fi