[Spice-devel] [PATCH spice-gtk 2/5] test-session: Test alternative way for setting port

Victor Toso lists at victortoso.com
Tue May 31 10:07:45 UTC 2016


Hi,

On Fri, May 20, 2016 at 02:50:57PM +0200, Pavel Grunt wrote:
> ---
>  tests/session.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/tests/session.c b/tests/session.c
> index 00076f2..a6276c2 100644
> --- a/tests/session.c
> +++ b/tests/session.c
> @@ -24,6 +24,12 @@ static void test_session_uri(void)
>          { NULL, "5930",
>            "spice://localhost?port=&tls-port=5930",
>            "spice://localhost?tls-port=5930" },
> +        { "42", NULL,
> +          "spice://localhost:42",
> +          "spice://localhost?port=42&" },
> +        { "42", "5930",
> +          "spice://localhost:42?tls-port=5930",
> +          "spice://localhost?port=42&tls-port=5930" },

Acked-by: Victor Toso <victortoso at redhat.com>

>      };
>  
>      /* Set URI and check URI, port and tls_port */
> -- 
> 2.8.2
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list