liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 6c8b2bbb83b830e88c4c41cf39eb8115cd91b7b8
parent 4ddce6e9266d5761dd7d423acf24a40d6759fe5b
Author: Daniel Barlow <dan@telent.net>
Date:   Sun, 10 Dec 2023 18:35:14 +0000

add retries to wlan test

Diffstat:
Mtests/wlan/wait-for-wlan.expect | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/wlan/wait-for-wlan.expect b/tests/wlan/wait-for-wlan.expect @@ -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; }