[farsight2/master] Disable upnp discovery on stund test
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:45 PST 2008
---
tests/check/transmitter/rawudp.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/tests/check/transmitter/rawudp.c b/tests/check/transmitter/rawudp.c
index 20823a5..999b324 100644
--- a/tests/check/transmitter/rawudp.c
+++ b/tests/check/transmitter/rawudp.c
@@ -434,12 +434,12 @@ GST_END_TEST;
GST_START_TEST (test_rawudptransmitter_run_stund)
{
- GParameter params[3];
+ GParameter params[4];
if (stund_pid <= 0)
return;
- memset (params, 0, sizeof (GParameter) * 3);
+ memset (params, 0, sizeof (GParameter) * 4);
params[0].name = "stun-ip";
g_value_init (¶ms[0].value, G_TYPE_STRING);
@@ -453,6 +453,11 @@ GST_START_TEST (test_rawudptransmitter_run_stund)
g_value_init (¶ms[2].value, G_TYPE_UINT);
g_value_set_uint (¶ms[2].value, 5);
+ params[3].name = "upnp-discovery";
+ g_value_init (¶ms[3].value, G_TYPE_BOOLEAN);
+ g_value_set_boolean (¶ms[3].value, FALSE);
+
+
run_rawudp_transmitter_test (3, params, FLAG_HAS_STUN);
}
GST_END_TEST;
--
1.5.6.5
More information about the farsight-commits
mailing list