]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - tests/common.sh
tests: Wait at most 20 seconds in wait_for_ports().
[tlsproxy/tlsproxy.git] / tests / common.sh
index f141cb2c2736e5f79ea93afc4c30d770cab693b2..2d871083db7a31b5a9f11535c6e982c4db960544 100644 (file)
@@ -68,7 +68,7 @@ client() {
 }
 
 wait_for_ports() {
-    while :; do
+    for x in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do
         sleep 1
 
         # Check if each given port can be reached.