diff --git a/test/vhost/common.sh b/test/vhost/common.sh index cecb6f8fe..3c6c01bdb 100644 --- a/test/vhost/common.sh +++ b/test/vhost/common.sh @@ -31,6 +31,21 @@ mkdir -p $TEST_DIR # source $BASE_DIR/common/autotest.config +function vhosttestinit() +{ + if [ "$TEST_MODE" == "iso" ]; then + $rootdir/scripts/setup.sh + # TODO: Test for VM image in correct spot + fi +} + +function vhosttestfini() +{ + if [ "$TEST_MODE" == "iso" ]; then + $rootdir/scripts/setup.sh reset + fi +} + function message() { if ! $SPDK_VHOST_VERBOSE; then