diff --git a/run-vmtest/run.sh b/run-vmtest/run.sh index c8d5306..1b8b44e 100755 --- a/run-vmtest/run.sh +++ b/run-vmtest/run.sh @@ -30,13 +30,14 @@ foldable end bpftool_checks foldable start vmtest "Starting virtual machine..." +# Tests may be comma-separated. vmtest_selftest expect them to come from CLI space-separated. +T=$(echo ${KERNEL_TEST} | tr -s ',' ' ') # HACK: We need to unmount /tmp to access /tmp from the container.... - vmtest -k "${VMLINUZ}" --kargs "panic=-1 sysctl.vm.panic_on_oom=1" "umount /tmp && \ /bin/mount bpffs /sys/fs/bpf -t bpf && \ ip link set lo up && \ cd '${GITHUB_WORKSPACE}' && \ - ./ci/vmtest/vmtest_selftests.sh ${KERNEL_TEST}" + ./ci/vmtest/vmtest_selftests.sh ${T}" foldable end vmtest