]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Assume --long for UML
authorJohannes Berg <johannes.berg@intel.com>
Sun, 29 Mar 2020 11:46:44 +0000 (13:46 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Mar 2020 18:15:16 +0000 (21:15 +0300)
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 <johannes.berg@intel.com>
tests/hwsim/vm/vm-run.sh

index b31beb139596662d1be60b025cf7988ab2db540c..06dee068960b9e7620656c47eada4fc1779bad79 100755 (executable)
@@ -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 "