diff --git a/tools/lkl/tests/hijack-test.sh b/tools/lkl/tests/hijack-test.sh index 866cb1fa012563..6bfeb1c30fcdd4 100755 --- a/tools/lkl/tests/hijack-test.sh +++ b/tools/lkl/tests/hijack-test.sh @@ -129,6 +129,10 @@ LKL_HIJACK_OFFLOAD=0x8803 sh ${script_dir}/run_netperf.sh 192.168.13.1 1 0 TCP_M sh ${script_dir}/run_netperf.sh 192.168.13.1 1 0 TCP_RR sh ${script_dir}/run_netperf.sh fc03::1 1 0 TCP_STREAM +if [ -z "`printenv CONFIG_AUTO_LKL_VIRTIO_NET_VDE`" ]; then + exit 0 +fi + echo "== VDE tests ==" if [ ! -x "$(which vde_switch)" ]; then echo "WARNING: Cannot find a vde_switch executable, skipping VDE tests."