tests: Sleep even longer before starting valgrind tests

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>
This commit is contained in:
Jouni Malinen 2013-08-24 23:47:40 +03:00
parent b378c41fbc
commit f84692764a
2 changed files with 2 additions and 2 deletions

View file

@ -36,5 +36,5 @@ sleep 1
sudo chown $USER $DIR/logs/$DATE-hwsim0.dump sudo chown $USER $DIR/logs/$DATE-hwsim0.dump
if [ "x$VALGRIND" = "xy" ]; then if [ "x$VALGRIND" = "xy" ]; then
sudo chown $USER $DIR/logs/$DATE-valgrind* sudo chown $USER $DIR/logs/$DATE-valgrind*
sleep 2 sleep 10
fi fi

View file

@ -35,5 +35,5 @@ sleep 1
sudo chown $USER $DIR/logs/$DATE-hwsim0.dump sudo chown $USER $DIR/logs/$DATE-hwsim0.dump
if [ "x$VALGRIND" = "xy" ]; then if [ "x$VALGRIND" = "xy" ]; then
sudo chown $USER $DIR/logs/$DATE-*valgrind* sudo chown $USER $DIR/logs/$DATE-*valgrind*
sleep 2 sleep 10
fi fi