[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 6608873 2/2: Avoid a nuisance message
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 6608873 2/2: Avoid a nuisance message |
Date: |
Fri, 19 Nov 2021 17:24:00 -0500 (EST) |
branch: master
commit 660887353ba3b01ab260759f0e688922c464707c
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Avoid a nuisance message
---
gui_test.sh | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gui_test.sh b/gui_test.sh
index b3673fe..8f160d1 100755
--- a/gui_test.sh
+++ b/gui_test.sh
@@ -151,3 +151,15 @@ cd "$srcdir"
$PERFORM "$prefix"/bin/wx_test "$@" --ash_nazg --data_path="$prefix"/data 2>&1
\
| tee "$log_dir"/gui_test | sed -e "$gui_test_clutter"
+
+# Wait an arbitrary five seconds for 'wineserver' to end, to avoid an
+# "X connection to [...] broken"
+# message when run by 'xvfb-run'--see [reformatted]:
+# https://lists.nongnu.org/archive/html/lmi/2020-10/msg00077.html
+# [...] I believe that the X server connection is actually opened
+# not by wine itself, but by wineserver which [it] launches. But
+# xvfb-run exits once wine command itself does, while wineserver
+# exits slightly later, so it loses its connection to the server
+# because it [exits] earlier.
+printf 'waiting five seconds for wineserver to terminate...'
+sleep 5