Commit 8ea7dbd9 authored by Pekka Pessi's avatar Pekka Pessi

Renamed http_test.c as test_http.c.

darcs-hash:20051108095114-65a35-f0f1b04beca23949016f515141e900afee495733.gz
parent b9441e98
2005-11-08 Pekka Pessi <Pekka.Pessi@nokia.com>
* Renamed http_test.c as test_http.c
2005-07-18 Kai Vehmanen <kai.vehmanen@nokia.com>
* Initial import of the module to Sofia-SIP tree.
......@@ -15,9 +15,9 @@ INCLUDES = -I$(srcdir)/../bnf \
noinst_LTLIBRARIES = libhttp.la
noinst_PROGRAMS = http_test
noinst_PROGRAMS = test_http
TESTS = http_test
TESTS = test_http
# ----------------------------------------------------------------------
# Rules for building the targets
......@@ -46,7 +46,7 @@ LDADD = libhttp.la \
../url/liburl.la \
../su/libsu.la
http_test_LDFLAGS = -static
test_http_LDFLAGS = -static
# ----------------------------------------------------------------------
# Install and distribution rules
......
......@@ -22,7 +22,7 @@
*
*/
/**@CFILE http_test.c
/**@CFILE test_http.c
*
* Testing functions for HTTP parser.
*
......@@ -58,7 +58,7 @@
#include <tstdef.h>
char const *name = "http_test.c";
char const *name = "test_http";
static int tag_test(void);
static int tag_test2(void);
......@@ -142,7 +142,7 @@ msg_t *read_message(char const buffer[])
m = msg_extract(msg);
if (m < 0) {
fprintf(stderr, "http_test: parsing error\n");
fprintf(stderr, "test_http: parsing error\n");
return NULL;
}
if (m > 0)
......@@ -150,7 +150,7 @@ msg_t *read_message(char const buffer[])
}
if (i != n) {
fprintf(stderr, "http_test: parser error (len=%u, read=%u)\n", n, i);
fprintf(stderr, "test_http: parser error (len=%u, read=%u)\n", n, i);
msg_destroy(msg), msg = NULL;
}
......@@ -185,7 +185,7 @@ msg_t *read_message_byte_by_byte(char const buffer[])
m = msg_extract(msg);
if (m < 0) {
fprintf(stderr, "http_test: parsing error\n");
fprintf(stderr, "test_http: parsing error\n");
return NULL;
}
if (m > 0)
......@@ -193,7 +193,7 @@ msg_t *read_message_byte_by_byte(char const buffer[])
}
if (i != n) {
fprintf(stderr, "http_test: parser error (len=%u, read=%u)\n", n, i);
fprintf(stderr, "test_http: parser error (len=%u, read=%u)\n", n, i);
msg_destroy(msg), msg = NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment