From fac50c9bc67152f728954054374b4dc6a6602fd0 Mon Sep 17 00:00:00 2001 From: polar Date: Wed, 20 Sep 2017 09:45:52 -0400 Subject: [PATCH] Trying to modify run.sh so it waits for the Xvfb server to start accepting connections. --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 3847513..b029c55 100755 --- a/run.sh +++ b/run.sh @@ -11,7 +11,7 @@ while [ ${p} -lt 3000 ] break fi done - echo The port is ${port} +echo The port is ${port} if ${port}; then timeout 15 bash -c "until echo > /dev/tcp/localhost/${port}; do sleep 0.5; done"