git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8545 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2008-05-23 20:56:24 +00:00
1 parent d2290cfa3a
commit 00654d880e
338 files changed
+55722 -19397

No files matched your search

+5 -1
View File
@@ -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");
}