From b487b1b25a6b14b8e13292835156295544761059 Mon Sep 17 00:00:00 2001 From: Manu Bretelle Date: Thu, 11 Jan 2024 14:40:45 -0800 Subject: [PATCH] run-vmtest: convert tests from comma-separated list to space-separated. vmtest_selftests.sh expect them to be space-separated. Signed-off-by: Manu Bretelle --- run-vmtest/run.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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