diff mbox series

tests: assume --long for UML

Message ID 1585482404-Ie3e0843b1513f042d6e30fbea560aa5a2d9c6def@changeid
State Accepted
Headers show
Series tests: assume --long for UML | expand

Commit Message

Johannes Berg March 29, 2020, 11:46 a.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

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 | 3 +++
 1 file changed, 3 insertions(+)

Comments

Jouni Malinen March 29, 2020, 7:44 p.m. UTC | #1
On Sun, Mar 29, 2020 at 01:46:44PM +0200, Johannes Berg wrote:
> 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.

Thanks, applied.
diff mbox series

Patch

diff --git a/tests/hwsim/vm/vm-run.sh b/tests/hwsim/vm/vm-run.sh
index b31beb139596..06dee068960b 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 "