add retries to wlan test
This commit is contained in:
parent
4ddce6e926
commit
6c8b2bbb83
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ set FINISHED 0
|
||||||
set EXIT "1"
|
set EXIT "1"
|
||||||
send "ls -l /run/uncaught-logs/current\r\n"
|
send "ls -l /run/uncaught-logs/current\r\n"
|
||||||
expect "#"
|
expect "#"
|
||||||
while { $FINISHED < 10 } {
|
while { $FINISHED < 20 } {
|
||||||
send "grep AP-ENABLED /run/uncaught-logs/current || echo not\r\n"
|
send "date && grep AP-ENABLED /run/uncaught-logs/current || echo not\r\n"
|
||||||
|
|
||||||
expect {
|
expect {
|
||||||
"wlan0: AP-ENABLED" { set FINISHED 10; set EXIT 0; }
|
"wlan0: AP-ENABLED" { set FINISHED 10; set EXIT 0; }
|
||||||
|
|
Loading…
Reference in a new issue