]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
Make tests use Xorg 1.17 by default
authorRobert Ancell <robert.ancell@canonical.com>
Mon, 16 Nov 2015 22:49:56 +0000 (11:49 +1300)
committerRobert Ancell <robert.ancell@canonical.com>
Mon, 16 Nov 2015 22:49:56 +0000 (11:49 +1300)
tests/Makefile.am
tests/scripts/allow-tcp.conf [moved from tests/scripts/allow-tcp-xorg-1.17.conf with 85% similarity]
tests/scripts/xdmcp-client.conf [moved from tests/scripts/xdmcp-client-xorg-1.17.conf with 78% similarity]
tests/scripts/xremote-autologin.conf
tests/scripts/xremote-login.conf
tests/src/X.c
tests/test-allow-tcp [new file with mode: 0755]
tests/test-allow-tcp-xorg-1.17 [deleted file]
tests/test-xdmcp-client [new file with mode: 0755]
tests/test-xdmcp-client-xorg-1.17 [deleted file]

index 27b6b5385ff048db0fee666a575e32f5c298a872..6262a78e004ddbdcb82e3e405bb24d133f450604 100644 (file)
@@ -35,8 +35,8 @@ TESTS = \
        test-autologin-timeout-gobject \
        test-autologin-guest-timeout-gobject \
        test-xserver-config \
+       test-allow-tcp \
        test-allow-tcp-xorg-1.16 \
-       test-allow-tcp-xorg-1.17 \    
        test-change-authentication \
        test-restart-authentication \
        test-cancel-authentication-gobject \
@@ -173,8 +173,8 @@ TESTS = \
        test-vnc-guest \
        test-xremote-autologin \
        test-xremote-login \    
+       test-xdmcp-client \
        test-xdmcp-client-xorg-1.16 \
-       test-xdmcp-client-xorg-1.17 \
        test-xdmcp-server-autologin \
        test-xdmcp-server-login \
        test-xdmcp-server-double-login \
@@ -375,8 +375,8 @@ EXTRA_DIST = \
        scripts/additional-config-priority.conf \
        scripts/additional-system-config.conf \
        scripts/additional-system-config-priority.conf \
+       scripts/allow-tcp.conf \
        scripts/allow-tcp-xorg-1.16.conf \
-       scripts/allow-tcp-xorg-1.17.conf \    
        scripts/audit-autologin.conf \
        scripts/autologin.conf \
        scripts/autologin-guest.conf \
@@ -592,8 +592,8 @@ EXTRA_DIST = \
        scripts/xauthority.conf \
        scripts/xdg-current-desktop.conf \
        scripts/xdg-current-desktop-legacy.conf \
+       scripts/xdmcp-client.conf \
        scripts/xdmcp-client-xorg-1.16.conf \
-       scripts/xdmcp-client-xorg-1.17.conf \
        scripts/xdmcp-server-autologin.conf \
        scripts/xdmcp-server-double-login.conf \
        scripts/xdmcp-server-guest.conf \
similarity index 85%
rename from tests/scripts/allow-tcp-xorg-1.17.conf
rename to tests/scripts/allow-tcp.conf
index 14b591515b87ba08d866a76159c358fa5fd0f55a..c304d315c6f54f1f0a369d3747c85866c7ce1964 100644 (file)
@@ -1,10 +1,7 @@
 #
-# Check can enable TCP listening in X.Org >= 1.17 (default is listening disabled)
+# Check can enable TCP listening
 #
 
-[test-xserver-config]
-version=1.17.0
-
 [Seat:*]
 autologin-user=have-password1
 user-session=default
similarity index 78%
rename from tests/scripts/xdmcp-client-xorg-1.17.conf
rename to tests/scripts/xdmcp-client.conf
index 584004e6e8c8dfb65721152ece9a2c7b67df1745..f29bb41cd0e5ffea3da835c3a68eea5b270c773d 100644 (file)
@@ -1,10 +1,7 @@
 #
-# Check can run a local XDMCP client in X.Org >= 1.17 (default is listening disabled)
+# Check can run a local XDMCP client
 #
 
-[test-xserver-config]
-version=1.17.0
-
 [Seat:*]
 xdmcp-manager=127.0.0.1
 
index 251a418cdad357afa87bfb570d1eaa15ecfb8226..45ebaea94a0b0862d5847745286f7c3d11227a85 100644 (file)
@@ -9,7 +9,7 @@ user-session=default
 xserver-display-number=98
 
 # Start a remote X server to use
-#?*START-XSERVER ARGS=":98"
+#?*START-XSERVER ARGS=":98 -listen tcp"
 #?XSERVER-98 START LISTEN-TCP
 
 #?*START-DAEMON
index bdc81a91db6bfc04b73d69911748193dcdbf13db..e8af83114ebd349c1c1792866ec915027adba562 100644 (file)
@@ -8,7 +8,7 @@ user-session=default
 xserver-display-number=98
 
 # Start a remote X server to use
-#?*START-XSERVER ARGS=":98"
+#?*START-XSERVER ARGS=":98 -listen tcp"
 #?XSERVER-98 START LISTEN-TCP
 
 #?*START-DAEMON
index cd4511b8f1054c0d5cdf12c57cdce100c93741c1..5621e3b758d66014cb9c47a5a3870e429f120a39 100644 (file)
@@ -249,7 +249,7 @@ main (int argc, char **argv)
 
     xorg_version = g_key_file_get_string (config, "test-xserver-config", "version", NULL);
     if (!xorg_version)
-        xorg_version = g_strdup ("1.16.0");
+        xorg_version = g_strdup ("1.17.0");
     tokens = g_strsplit (xorg_version, ".", -1);
     xorg_version_major = g_strv_length (tokens) > 0 ? atoi (tokens[0]) : 0;
     xorg_version_minor = g_strv_length (tokens) > 1 ? atoi (tokens[1]) : 0;
diff --git a/tests/test-allow-tcp b/tests/test-allow-tcp
new file mode 100755 (executable)
index 0000000..d314e7d
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+./src/dbus-env ./src/test-runner allow-tcp test-gobject-greeter
diff --git a/tests/test-allow-tcp-xorg-1.17 b/tests/test-allow-tcp-xorg-1.17
deleted file mode 100755 (executable)
index db2a80b..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-./src/dbus-env ./src/test-runner allow-tcp-xorg-1.17 test-gobject-greeter
diff --git a/tests/test-xdmcp-client b/tests/test-xdmcp-client
new file mode 100755 (executable)
index 0000000..fe34787
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+./src/dbus-env ./src/test-runner xdmcp-client test-gobject-greeter
diff --git a/tests/test-xdmcp-client-xorg-1.17 b/tests/test-xdmcp-client-xorg-1.17
deleted file mode 100755 (executable)
index b3d41fc..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-./src/dbus-env ./src/test-runner xdmcp-client-xorg-1.17 test-gobject-greeter