forked from dan/liminix
1
0
Fork 0

add retries to wlan test

This commit is contained in:
Daniel Barlow 2023-12-10 18:35:14 +00:00
parent 4ddce6e926
commit 6c8b2bbb83
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ set FINISHED 0
set EXIT "1"
send "ls -l /run/uncaught-logs/current\r\n"
expect "#"
while { $FINISHED < 10 } {
send "grep AP-ENABLED /run/uncaught-logs/current || echo not\r\n"
while { $FINISHED < 20 } {
send "date && grep AP-ENABLED /run/uncaught-logs/current || echo not\r\n"
expect {
"wlan0: AP-ENABLED" { set FINISHED 10; set EXIT 0; }