diff options
-rwxr-xr-x | tools/wine_valgrind/chrome_tests.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/wine_valgrind/chrome_tests.sh b/tools/wine_valgrind/chrome_tests.sh index 163f05d..ed90c82 100755 --- a/tools/wine_valgrind/chrome_tests.sh +++ b/tools/wine_valgrind/chrome_tests.sh @@ -252,6 +252,9 @@ init_runtime() { then export DISPLAY=":$VNC" vncserver -kill "$DISPLAY" || true + # VNC servers don't clean these up if they get a SIGKILL, and would then + # refuse to start because these files are there. + rm -f "/tmp/.X${VNC}-lock" "/tmp/.X11-unix/X${VNC}" vncserver "$DISPLAY" -ac -depth 24 -geometry 1024x768 fi $dry_run rm -rf $WINEPREFIX |