summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-01-27 12:39:11 +0100
committerHarald Welte <laforge@gnumonks.org>2012-01-27 18:11:49 +0100
commitb9bcf72a18f9f28dc73c18411b8e4136f5622769 (patch)
tree8a63aabe6f504952b8239153c81c9cec6fed917c
parent94b499c9bd72a5a4e6f64a147647bafb7e3bd5d8 (diff)
test case for the zynetix MCGP: use \n instead of \r
-rw-r--r--openbsc/tests/mgcp/mgcp_test.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/openbsc/tests/mgcp/mgcp_test.c b/openbsc/tests/mgcp/mgcp_test.c
index bbbdff5..c0ad95f 100644
--- a/openbsc/tests/mgcp/mgcp_test.c
+++ b/openbsc/tests/mgcp/mgcp_test.c
@@ -49,13 +49,13 @@
"a=rtpmap:126 AMR/8000\r\n"
-#define CRCX_ZYN "CRCX 2 1@mgw MGCP 1.0\r" \
- "M: sendrecv\r" \
- "C: 2\r\r" \
- "v=0\r" \
- "c=IN IP4 123.12.12.123\r" \
- "m=audio 5904 RTP/AVP 97\r" \
- "a=rtpmap:97 GSM-EFR/8000\r"
+#define CRCX_ZYN "CRCX 2 1@mgw MGCP 1.0\n" \
+ "M: sendrecv\n" \
+ "C: 2\n\n" \
+ "v=0\n" \
+ "c=IN IP4 123.12.12.123\n" \
+ "m=audio 5904 RTP/AVP 97\n" \
+ "a=rtpmap:97 GSM-EFR/8000\n"
struct mgcp_test {
const char *name;