diff options
author | Patrick Steinhardt <ps@pks.im> | 2018-08-03 10:01:59 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-08-03 10:01:59 +0200 |
commit | 835d60432082b87984211b60ab82791c01011b1b (patch) | |
tree | b1120efb0775e056444011d59570fb11de0c6746 /ci | |
parent | e38ddc90bf2b77fce422014f2785a9124d21263f (diff) | |
download | libgit2-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-x | ci/test.sh | 2 |
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 |