mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 13:28:31 +00:00
merged new xmlrpc-c revision 1472 from https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/trunk
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8545 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
d2290cfa3a
commit
00654d880e
338 files changed
+55722
-19397
No files matched your search
@@ -21,6 +21,8 @@ static const char cgiResponse1[] =
|
||||
"</methodResponse>\r\n";
|
||||
|
||||
|
||||
#define TESTDATA_DIR "data"
|
||||
#define DIRSEP DIRECTORY_SEPARATOR
|
||||
|
||||
void
|
||||
test_server_cgi(void) {
|
||||
@@ -36,7 +38,8 @@ test_server_cgi(void) {
|
||||
"CONTENT_TYPE=text/xml "
|
||||
"CONTENT_LENGTH=211 "
|
||||
"./cgitest1 "
|
||||
"<sample_add_call.xml",
|
||||
"<"
|
||||
TESTDATA_DIR DIRSEP "sample_add_call.xml",
|
||||
"r");
|
||||
|
||||
if (cgiOutputP == NULL)
|
||||
@@ -51,6 +54,7 @@ test_server_cgi(void) {
|
||||
|
||||
TEST(memcmp(cgiResponse, cgiResponse1, bytesRead) == 0);
|
||||
}
|
||||
fclose(cgiOutputP);
|
||||
printf("\n");
|
||||
printf("CGI tests done.\n");
|
||||
}
|
||||
Reference in new issue
Block a user