Add support for specific commits in vagrant

Relay KPATCH_GIT and KPATCH_REV into vagrant so it can checkout
specified repo/commit.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
Artem Savkov 2020-01-21 17:15:13 +01:00
parent f9e4399309
commit 3280e8e0e9

View File

@ -273,7 +273,7 @@ kpatch_integration_tests_vagrant_distro()
vagrant up || { vagrant destroy -f; exit 1; }
local test_cmd="bash /vagrant/runtest.sh"
local test_cmd="KPATCH_GIT=${KPATCH_GIT} KPATCH_REV=${KPATCH_REV} bash /vagrant/runtest.sh"
if [ "${slowtest}" == "1" ]; then
test_cmd="${test_cmd} --slow"
fi