Test nonce-tcp transport
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 22 Feb 2011 13:43:18 +0000 (13:43 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 10 Jun 2011 17:32:10 +0000 (18:32 +0100)
Regression test for https://bugs.freedesktop.org/show_bug.cgi?id=34569

Reviewed-by: David Zeuthen <davidz@redhat.com>
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570

test/loopback.c

index 0c5cd1a..9d958aa 100644 (file)
@@ -195,6 +195,11 @@ main (int argc,
   g_test_add ("/message/tcp", Fixture, "tcp:host=127.0.0.1", setup,
       test_message, teardown);
 
+  g_test_add ("/connect/nonce-tcp", Fixture, "nonce-tcp:host=127.0.0.1", setup,
+      test_connect, teardown);
+  g_test_add ("/message/nonce-tcp", Fixture, "nonce-tcp:host=127.0.0.1", setup,
+      test_message, teardown);
+
 #ifdef DBUS_UNIX
   g_test_add ("/connect/unix", Fixture, "unix:tmpdir=/tmp", setup,
       test_connect, teardown);