]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Sleep even longer before starting valgrind tests
authorJouni Malinen <j@w1.fi>
Sat, 24 Aug 2013 20:47:40 +0000 (23:47 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 24 Aug 2013 20:47:40 +0000 (23:47 +0300)
It looks like some virtual host setups are too slow to get
wpa_supplicant initialized under valgrind and this was triggering test
failures. Work around this by using even a longer wait before test case
execution.

Signed-hostap: Jouni Malinen <j@w1.fi>

tests/hwsim/start-p2p-concurrent.sh
tests/hwsim/start.sh

index 294d96bff61a95c16630be8c2cb2628c26b1255f..8d14b2755e5343780de2afd8843216a763624b99 100755 (executable)
@@ -36,5 +36,5 @@ sleep 1
 sudo chown $USER $DIR/logs/$DATE-hwsim0.dump
 if [ "x$VALGRIND" = "xy" ]; then
     sudo chown $USER $DIR/logs/$DATE-valgrind*
-    sleep 2
+    sleep 10
 fi
index 56a68f90d002bd83a7f66fde3e4a4a0dc9ceed40..3e96356d3a4756c8de4e047286c20b22de10d2c9 100755 (executable)
@@ -35,5 +35,5 @@ sleep 1
 sudo chown $USER $DIR/logs/$DATE-hwsim0.dump
 if [ "x$VALGRIND" = "xy" ]; then
     sudo chown $USER $DIR/logs/$DATE-*valgrind*
-    sleep 2
+    sleep 10
 fi