diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-09-15 16:27:23 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-09-15 16:27:23 +0900 |
| commit | ae39b54d79de36a5ba22ca24e3ba150f230c327b (patch) | |
| tree | a089f8723ebd9a76204671e7c7274f652958d40e | |
| parent | 0b37479030dc665d8caf9f6fe5c1f19fb3c223e1 (diff) | |
internal/rosa/package/libglvnd: poll for X socket
This avoids the race where tests start running before the X server is ready to accept connections.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/package/libglvnd.az | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/rosa/package/libglvnd.az b/internal/rosa/package/libglvnd.az index dbcf198b..9be9e2a9 100644 --- a/internal/rosa/package/libglvnd.az +++ b/internal/rosa/package/libglvnd.az @@ -22,6 +22,7 @@ export DISPLAY=':0' Xvfb & XVFB_PID="$!" trap 'kill $XVFB_PID && wait $XVFB_PID' EXIT +while [ ! -e /tmp/.X11-unix/X0 ]; do sleep 0.1; done `; }; |
