summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2020-03-25 11:48:07 +0100
committeranonym <anonym@riseup.net>2020-03-25 11:50:44 +0100
commit5c05c6e395056bd26ced4a80384ba4cb0127dc04 (patch)
treec3f7135609c2d893712eb084ed726f12cb671d44
parentcdc4747ea083de8917fd0ae9b948fd575896b82f (diff)
run_test_suite: bail if we are _not_ using x11.
So, I suspect what happened here was that I wanted to test how the error message looked, and thus removed the "!" to make it trigger, and then forgot to re-add the "!" before committing. Whoops!
-rwxr-xr-xrun_test_suite2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_test_suite b/run_test_suite
index c3d59e7..9222fb7 100755
--- a/run_test_suite
+++ b/run_test_suite
@@ -270,7 +270,7 @@ TARGET_DISPLAY=$(next_free_display)
start_xvfb
if [ -n "${VNC_SERVER:-}" ]; then
- if [ "${XDG_SESSION_TYPE}" = "x11" ]; then
+ if [ "${XDG_SESSION_TYPE}" != "x11" ]; then
error "the --view and --vnc-server-only are only supported on x11," \
"but you use ${XDG_SESSION_TYPE}"
fi