diff --git a/travis-ci/vmtest/patches/.do_not_use_dot_patch_here b/travis-ci/vmtest/diffs/.do_not_use_dot_patch_here similarity index 100% rename from travis-ci/vmtest/patches/.do_not_use_dot_patch_here rename to travis-ci/vmtest/diffs/.do_not_use_dot_patch_here diff --git a/travis-ci/vmtest/patches/0001-find_vma.diff b/travis-ci/vmtest/diffs/0001-find_vma.diff similarity index 100% rename from travis-ci/vmtest/patches/0001-find_vma.diff rename to travis-ci/vmtest/diffs/0001-find_vma.diff diff --git a/travis-ci/vmtest/prepare_selftests.sh b/travis-ci/vmtest/prepare_selftests.sh index 63215690..4ad6058f 100755 --- a/travis-ci/vmtest/prepare_selftests.sh +++ b/travis-ci/vmtest/prepare_selftests.sh @@ -5,8 +5,8 @@ set -eu source $(cd $(dirname $0) && pwd)/helpers.sh travis_fold start apply_local_patch "Apply local patches" -if ls ${VMTEST_ROOT}/patches/*.diff 1>/dev/null 2>&1; then - for file in ${VMTEST_ROOT}/patches/*.diff; do +if ls ${VMTEST_ROOT}/diffs/*.diff 1>/dev/null 2>&1; then + for file in ${VMTEST_ROOT}/diffs/*.diff; do patch -p1 < ${file} done fi