[EDT][PATCH] hwsim-test should not be used here.

Rahul Jain rahul.jain at samsung.com
Mon Jun 8 00:00:03 EDT 2015


EP-A39FC82E86A64058A3D483D9DB07ED2D
hello,

From 26f915b5ec655942903a3a48aea1cf5cd6fccc79 Mon Sep 17 00:00:00 2001
From: Rahul Jain <rahul.jain at samsung.com>
Date: Wed, 3 Jun 2015 10:21:32 +0530
Subject: [PATCH] hwsim-test should not be used here as hwsim-test
 file gets created only by vm. If you want to run without vm
 and use dbus, file hwsim-test comes as a blocker. To fix
 this problem, existence of hwsim-test check should be
 avoided. Steps for testing:- 1) ./start.sh 2)
 ./run-tests.py dbus_p2p_config


Signed-off-by: Rahul Jain <rahul.jain at samsung.com>
Signed-off-by: Amit Khatri <amit.khatri at samsung.com>
Signed-off-by: Ashutosh Kaushik <k.ashutosh at samsung.com>
---
 tests/hwsim/start.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/hwsim/start.sh b/tests/hwsim/start.sh
index df8a76d..f09cb51 100755
--- a/tests/hwsim/start.sh
+++ b/tests/hwsim/start.sh
@@ -105,7 +105,7 @@ sudo ifconfig hwsim0 up
 sudo $WLANTEST -i hwsim0 -n $LOGDIR/hwsim0.pcapng -c -dt -L $LOGDIR/hwsim0 &
 for i in 0 1 2; do
     DBUSARG=""
-    if [ $i = "0" -a -r /var/run/dbus/pid -a -r /var/run/dbus/hwsim-test ]; then
+    if [ $i = "0" -a -r /var/run/dbus/pid ]; then
 	if $WPAS | grep -q -- -u; then
 	    DBUSARG="-u"
 	fi
-- 
1.7.9.5


More information about the HostAP mailing list