From 5d0d6cb2a8707a86a119f33907836db8a2c6dad7 Mon Sep 17 00:00:00 2001 From: Gao feng Date: Thu, 26 Oct 2017 15:08:15 +0800 Subject: [PATCH] update hyper kernel path Signed-off-by: Gao feng --- hack/test-cmd.sh | 2 +- tests/bats-integration/helpers.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/test-cmd.sh b/hack/test-cmd.sh index 922764e1..76b3b005 100755 --- a/hack/test-cmd.sh +++ b/hack/test-cmd.sh @@ -11,7 +11,7 @@ set -o pipefail export HYPERSTARTPATH="$GOPATH/src/github.com/hyperhq/hyperstart" export RUNVPATH="$GOPATH/src/github.com/hyperhq/runv" cd $HYPERSTARTPATH && ./autogen.sh && ./configure && make -cp -v $HYPERSTARTPATH/build/{kernel,hyper-initrd.img} $RUNVPATH/tests/go-integration/test_data/ +cp -v $HYPERSTARTPATH/build/{arch/x86_64/kernel,hyper-initrd.img} $RUNVPATH/tests/go-integration/test_data/ # do runv integration-test cd $RUNVPATH diff --git a/tests/bats-integration/helpers.bash b/tests/bats-integration/helpers.bash index c38b4aeb..0b959a62 100644 --- a/tests/bats-integration/helpers.bash +++ b/tests/bats-integration/helpers.bash @@ -51,7 +51,7 @@ function runv() { # Raw wrapper for runv. function __runv() { - "$RUNVPATH"/runv --kernel "$HYPERSTARTPATH"/build/kernel --initrd "$HYPERSTARTPATH"/build/hyper-initrd.img --debug --root "$ROOT" "$@" + "$RUNVPATH"/runv --kernel "$HYPERSTARTPATH"/build/arch/x86_64/kernel --initrd "$HYPERSTARTPATH"/build/hyper-initrd.img --debug --root "$ROOT" "$@" } # Wrapper for runv spec.