From 478bc00b5f7ae0b90eb070fe865f1e59c4faf360 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Sun, 29 Mar 2020 13:46:44 +0200 Subject: [PATCH] tests: Assume --long for UML If we use user-mode-linux, we have time-travel, and then the --long argument doesn't really make a difference, so just assume that's the case. Signed-off-by: Johannes Berg --- tests/hwsim/vm/vm-run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/hwsim/vm/vm-run.sh b/tests/hwsim/vm/vm-run.sh index b31beb139..06dee0689 100755 --- a/tests/hwsim/vm/vm-run.sh +++ b/tests/hwsim/vm/vm-run.sh @@ -136,6 +136,9 @@ function finish { } trap finish EXIT +if [ -z $KVM ]; then + RUN_TEST_ARGS="--long $RUN_TEST_ARGS" +fi echo "$RUN_TEST_ARGS" > $argsfile A="mac80211_hwsim.support_p2p_device=0 "