aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-11 16:13:48 -0600
committerTed Gould <ted@gould.cx>2010-03-11 16:13:48 -0600
commit1720ce3e9f6d881686efc57088fc2cdd111dc671 (patch)
treec63f39be9c441d2a405f7afc211af4d5b4a2db01 /tests
parent9f09be2857cc9f231c091571ff88998de96e2a76 (diff)
downloadayatana-indicator-application-1720ce3e9f6d881686efc57088fc2cdd111dc671.tar.gz
ayatana-indicator-application-1720ce3e9f6d881686efc57088fc2cdd111dc671.tar.bz2
ayatana-indicator-application-1720ce3e9f6d881686efc57088fc2cdd111dc671.zip
Adding a two second wait to make seting up Xvfb more reliable. This is similar to xvfb-run.
Diffstat (limited to 'tests')
-rw-r--r--tests/run-xvfb.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run-xvfb.sh b/tests/run-xvfb.sh
index 3622dbf..35737c2 100644
--- a/tests/run-xvfb.sh
+++ b/tests/run-xvfb.sh
@@ -4,4 +4,5 @@ XID=`for id in 101 102 103 104 105 106 107 197 199 211 223 227 293 307 308 309 3
{ Xvfb -ac -noreset -screen 0 800x600x16 :$XID -screen 0 800x600x16 -nolisten tcp -auth /dev/null >/dev/null 2>&1 & trap "kill -15 $! " 0 HUP INT QUIT TRAP USR1 PIPE TERM ; } || { echo "Gtk+Tests:ERROR: Failed to start Xvfb environment for X11 target tests."; exit 1; }
DISPLAY=:$XID
export DISPLAY
+sleep 2
fi