summaryrefslogtreecommitdiffstats
path: root/run_test_suite
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2013-09-27 17:20:20 +0000
committerTails developers <amnesia@boum.org>2013-09-27 17:20:20 +0000
commitf453fc8f71ad07599bfaec5e376263503f9afa1a (patch)
tree5215781bdede9b8aee68d3b95befb946a550ef9a /run_test_suite
parent03c43b28c016881bb896127f49c2b396d85e41c9 (diff)
Look for "/tmp/.X11-unix/X${1#:}" too for used display detection.
On my new test VM, /tmp/.X${1#:}-lock doesn't exist even though a display is in use. So let's check for another file, that does exist, too.
Diffstat (limited to 'run_test_suite')
-rwxr-xr-xrun_test_suite2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_test_suite b/run_test_suite
index a4d27de..3edfafc 100755
--- a/run_test_suite
+++ b/run_test_suite
@@ -51,7 +51,7 @@ check_dependency() {
}
display_in_use() {
- [ -e "/tmp/.X${1#:}-lock" ]
+ [ -e "/tmp/.X${1#:}-lock" ] || [ -e "/tmp/.X11-unix/X${1#:}" ]
}
next_free_display() {