Once I introduced a second X server being tested, I found that startx
hit races in choosing a display.

Signed-off-by: Eric Anholt <e...@anholt.net>
---
 test/scripts/run-piglit.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/scripts/run-piglit.sh b/test/scripts/run-piglit.sh
index eb6ccca35dbb..80d0faab6b21 100755
--- a/test/scripts/run-piglit.sh
+++ b/test/scripts/run-piglit.sh
@@ -32,7 +32,7 @@ if test "x$XSERVER_BUILDDIR" = "x"; then
     exit 1
 fi
 
-startx \
+$XSERVER_BUILDDIR/test/simple-xinit \
     $XSERVER_DIR/test/scripts/xinit-piglit-session.sh \
     -- \
     $SERVER_COMMAND
-- 
2.9.3

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to