diff --git a/test/vhost/migration/migration-tc1.sh b/test/vhost/migration/migration-tc1.sh index b982bf210..cdfb7a311 100644 --- a/test/vhost/migration/migration-tc1.sh +++ b/test/vhost/migration/migration-tc1.sh @@ -54,7 +54,7 @@ function migration_tc1() # Use 2 VMs: # incoming VM - the one we want to migrate # targe VM - the one which will accept migration - local job_file="$MIGRATION_DIR/migration-tc1.job" + local job_file="$testdir/migration-tc1.job" # Run vhost vhost_run diff --git a/test/vhost/migration/migration-tc2.sh b/test/vhost/migration/migration-tc2.sh index 9884737c4..9c175e23e 100644 --- a/test/vhost/migration/migration-tc2.sh +++ b/test/vhost/migration/migration-tc2.sh @@ -162,7 +162,7 @@ function migration_tc2() # Use 2 VMs: # incoming VM - the one we want to migrate # targe VM - the one which will accept migration - local job_file="$MIGRATION_DIR/migration-tc2.job" + local job_file="$testdir/migration-tc2.job" migration_tc2_configure_vhost diff --git a/test/vhost/migration/migration-tc3a.sh b/test/vhost/migration/migration-tc3a.sh index 457909762..e9be8c66c 100644 --- a/test/vhost/migration/migration-tc3a.sh +++ b/test/vhost/migration/migration-tc3a.sh @@ -1,5 +1,5 @@ source $rootdir/test/nvmf/common.sh -source $MIGRATION_DIR/autotest.config +source $testdir/autotest.config incoming_vm=1 target_vm=2 @@ -7,7 +7,7 @@ incoming_vm_ctrlr=naa.VhostScsi0.$incoming_vm target_vm_ctrlr=naa.VhostScsi0.$target_vm share_dir=$TEST_DIR/share spdk_repo_share_dir=$TEST_DIR/share_spdk -job_file=$MIGRATION_DIR/migration-tc3.job +job_file=$testdir/migration-tc3.job if [ -z "$MGMT_TARGET_IP" ]; then error "No IP address of target is given" diff --git a/test/vhost/migration/migration-tc3b.sh b/test/vhost/migration/migration-tc3b.sh index 1acfb6b98..68d869301 100644 --- a/test/vhost/migration/migration-tc3b.sh +++ b/test/vhost/migration/migration-tc3b.sh @@ -2,7 +2,7 @@ # as we are usin non-interactive session to connect to remote. # Without -m it would be not possible to suspend the process. set -m -source $MIGRATION_DIR/autotest.config +source $testdir/autotest.config incoming_vm=1 target_vm=2